EngineComponentCreateDto.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using Abp.AutoMapper;
  3. using System.ComponentModel.DataAnnotations;
  4. using IwbZero.AppServiceBase;
  5. namespace WePlatform.WeModel.Component.Dto
  6. {
  7. /// <summary>
  8. /// 推演引擎事务组件
  9. /// </summary>
  10. [AutoMapTo(typeof(EngineComponentInfo))]
  11. public class EngineComponentCreateDto:IwbEntityDto
  12. {
  13. /// <summary>
  14. /// 组件名称
  15. /// </summary>
  16. [StringLength(EngineComponentInfo.NameLength)]
  17. public string Name { get; set; }
  18. /// <summary>
  19. /// 参数映射
  20. /// </summary>
  21. [StringLength(EngineComponentInfo.ParameterLength)]
  22. public string Parameters { get; set; }
  23. /// <summary>
  24. /// 事务描述
  25. /// </summary>
  26. [StringLength(EngineComponentInfo.DescLength)]
  27. public string Description { get; set; }
  28. /// <summary>
  29. /// 事务逻辑
  30. /// </summary>
  31. [StringLength(EngineComponentInfo.ScriptLength)]
  32. public string ComponentScript { get; set; }
  33. /// <summary>
  34. /// 类全名
  35. /// </summary>
  36. [StringLength(EngineComponentInfo.ClassLength)]
  37. public string ComponentClass { get; set; }
  38. /// <summary>
  39. /// 程序集
  40. /// </summary>
  41. [StringLength(EngineComponentInfo.LibLength)]
  42. public string ComponentLib { get; set; }
  43. /// <summary>
  44. /// 注册Key(IOC注入)
  45. /// </summary>
  46. [StringLength(EngineComponentInfo.KeyLength)]
  47. public string RegisterKey { get; set; }
  48. }
  49. }