PriorityCode.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. using Microsoft.EntityFrameworkCore;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Business.Domain
  9. {
  10. /// <summary>
  11. /// 优先级配置表
  12. /// </summary>
  13. [Comment("优先级配置表")]
  14. public class PriorityCode
  15. {
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. [Comment("主键")]
  20. [Key]
  21. public Guid RecID { get; set; }
  22. /// <summary>
  23. /// 域名
  24. /// </summary>
  25. [Comment("域名")]
  26. public string Domain { get; set; }
  27. /// <summary>
  28. /// 名称
  29. /// </summary>
  30. [Comment("名称")]
  31. public string Descr { get; set; }
  32. /// <summary>
  33. /// 字段名称
  34. /// </summary>
  35. [Comment("字段名称")]
  36. public string Value { get; set; }
  37. /// <summary>
  38. /// 优先级
  39. /// </summary>
  40. [Comment("优先级")]
  41. public int Priority { get; set; }
  42. /// <summary>
  43. /// 来源表名
  44. /// </summary>
  45. [Comment("来源表名")]
  46. public string SourceTable { get; set; }
  47. /// <summary>
  48. /// 来源字段
  49. /// </summary>
  50. [Comment("来源字段")]
  51. public string SourceColumn { get; set; }
  52. /// <summary>
  53. /// 来源表关联字段
  54. /// </summary>
  55. [Comment("来源表关联字段")]
  56. public string SourceID { get; set; }
  57. /// <summary>
  58. /// 工单表关联字段
  59. /// </summary>
  60. [Comment("工单表关联字段")]
  61. public string ValueID { get; set; }
  62. /// <summary>
  63. /// 来源表字段类型
  64. /// </summary>
  65. [Comment("来源表关联字段")]
  66. public string SourceType { get; set; }
  67. /// <summary>
  68. /// 工单表字段类型
  69. /// </summary>
  70. [Comment("工单表关联字段")]
  71. public string ValueType { get; set; }
  72. /// <summary>
  73. /// 是否有效:1-有效;0-无效
  74. /// </summary>
  75. [Comment("是否有效")]
  76. public bool IsActive { get; set; }
  77. /// <summary>
  78. /// 排序方式
  79. /// </summary>
  80. [Comment("排序方式")]
  81. public bool OrderBy { get; set; }
  82. /// <summary>
  83. /// 创建时间
  84. /// </summary>
  85. [Comment("创建时间")]
  86. public DateTime? CreateTime { get; set; }
  87. /// <summary>
  88. /// 修改时间
  89. /// </summary>
  90. [Comment("修改时间")]
  91. public DateTime? UpdateTime { get; set; }
  92. /// <summary>
  93. /// 创建人
  94. /// </summary>
  95. [Comment("创建人")]
  96. public string CreateUser { get; set; }
  97. /// <summary>
  98. /// 修改人
  99. /// </summary>
  100. [Comment("修改人")]
  101. public string UpdateUser { get; set; }
  102. }
  103. }