using System; using Abp.AutoMapper; using Abp.Application.Services.Dto; using System.ComponentModel.DataAnnotations; namespace WePlatform.WeModel.Component.Dto { /// /// 推演引擎事务组件 /// [AutoMapTo(typeof(EngineComponentInfo))] public class EngineComponentUpdateDto: EntityDto { /// /// 组件名称 /// [StringLength(EngineComponentInfo.NameLength)] public string Name { get; set; } /// /// 参数映射 /// [StringLength(EngineComponentInfo.ParameterLength)] public string Parameters { get; set; } /// /// 事务描述 /// [StringLength(EngineComponentInfo.DescLength)] public string Description { get; set; } /// /// 事务逻辑 /// [StringLength(EngineComponentInfo.ScriptLength)] public string ComponentScript { get; set; } /// /// 类全名 /// [StringLength(EngineComponentInfo.ClassLength)] public string ComponentClass { get; set; } /// /// 程序集 /// [StringLength(EngineComponentInfo.LibLength)] public string ComponentLib { get; set; } /// /// 注册Key(IOC注入) /// [StringLength(EngineComponentInfo.KeyLength)] public string RegisterKey { get; set; } } }