SysDictDataOutput.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application
  3. {
  4. /// <summary>
  5. /// 字典数据输出参数
  6. /// </summary>
  7. public class SysDictDataOutput
  8. {
  9. /// <summary>
  10. /// 主键
  11. /// </summary>
  12. [Required]
  13. public int Id { get; set; }
  14. /// <summary>
  15. /// 字典类型Id
  16. /// </summary>
  17. [Required]
  18. public int SysDictTypeId { get; set; }
  19. /// <summary>
  20. /// 名称
  21. /// </summary>
  22. [Required]
  23. public string Name { get; set; }
  24. /// <summary>
  25. /// 名称
  26. /// </summary>
  27. [Required]
  28. public string NickName { get; set; } = "";
  29. /// <summary>
  30. /// 编码
  31. /// </summary>
  32. [Required]
  33. public string Code { get; set; }
  34. /// <summary>
  35. /// 值
  36. /// </summary>
  37. [Required]
  38. public int Value { get; set; }
  39. /// <summary>
  40. /// 前端状态编码
  41. /// </summary>
  42. public string AntStatus { get; set; }
  43. /// <summary>
  44. /// 前端颜色值
  45. /// </summary>
  46. public string AntColor { get; set; }
  47. /// <summary>
  48. /// 排序
  49. /// </summary>
  50. [Required]
  51. public int Sort { get; set; }
  52. /// <summary>
  53. /// 备注
  54. /// </summary>
  55. public string Remark { get; set; }
  56. /// <summary>
  57. /// 状态
  58. /// </summary>
  59. public CommonStatus Status { get; set; }
  60. /// <summary>
  61. /// 字典类型
  62. /// </summary>
  63. public SysDictTypeOutput SysDictType { get; set; }
  64. }
  65. }