SceneFlowCreateDto.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System;
  2. using Abp.AutoMapper;
  3. using System.ComponentModel.DataAnnotations;
  4. using IwbZero.AppServiceBase;
  5. using WePlatform.WeBase;
  6. namespace WePlatform.WeLib.SceneFlow.Dto
  7. {
  8. /// <summary>
  9. /// 演练情景流策划
  10. /// </summary>
  11. [AutoMapTo(typeof(SceneFlowInfo))]
  12. public class SceneFlowCreateDto:IwbEntityDto
  13. {
  14. /// <summary>
  15. /// 情景流名称
  16. /// </summary>
  17. [StringLength(SceneFlowInfo.NameLength)]
  18. public string FlowName { get; set; }
  19. /// <summary>
  20. /// 场景类别
  21. /// </summary>
  22. [StringLength(SceneCategoryInfo.NoLength)]
  23. public string SceneCategory { get; set; }
  24. /// <summary>
  25. /// 类别名称
  26. /// </summary>
  27. public string SceneCategoryName { get; set; }
  28. /// <summary>
  29. /// 情景流配置信息
  30. /// </summary>
  31. [StringLength(SceneFlowInfo.ContentInfoLength)]
  32. public string ContentInfo { get; set; }
  33. /// <summary>
  34. /// 情景流状态
  35. /// </summary>
  36. public int? SceneFlowState { get; set; }
  37. /// <summary>
  38. /// 情景流变量
  39. /// </summary>
  40. [StringLength(SceneFlowInfo.VariableLength)]
  41. public string Variable { get; set; }
  42. /// <summary>
  43. /// 事务组件
  44. /// </summary>
  45. [MaxLength(SceneFlowInfo.ContentInfoLength)]
  46. public string ComponentInfo { get; set; }
  47. }
  48. }