GeneralizedCodeMaster.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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 GeneralizedCodeMaster
  15. {
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. [Comment("主键")]
  20. [Key]
  21. public int RecID { get; set; }
  22. /// <summary>
  23. /// 域名
  24. /// </summary>
  25. [Comment("域名")]
  26. public string Domain { get; set; }
  27. /// <summary>
  28. /// 配置模块,DOP用DopConfig
  29. /// </summary>
  30. [Comment("配置模块")]
  31. public string FldName { get; set; }
  32. /// <summary>
  33. /// 配置项的值
  34. /// </summary>
  35. [Comment("配置项的值")]
  36. public string Comments { get; set; }
  37. /// <summary>
  38. /// 配置项描述
  39. /// </summary>
  40. [Comment("配置项描述")]
  41. public string Ufld1 { get; set; }
  42. /// <summary>
  43. /// 配置项Key
  44. /// </summary>
  45. [Comment("配置项Key")]
  46. public string Val { get; set; }
  47. /// <summary>
  48. /// 是否有效:1-有效;0-无效
  49. /// </summary>
  50. [Comment("是否有效")]
  51. public bool IsActive { get; set; }
  52. /// <summary>
  53. /// 是否确认:1-已确认;0-没确认
  54. /// </summary>
  55. [Comment("是否有效")]
  56. public bool IsConfirm { get; set; }
  57. /// <summary>
  58. /// 排产锁定期
  59. /// </summary>
  60. [Comment("排产锁定期")]
  61. public decimal UDeci1 { get; set; }
  62. /// <summary>
  63. /// 创建时间
  64. /// </summary>
  65. [Comment("创建时间")]
  66. public DateTime? CreateTime { get; set; }
  67. /// <summary>
  68. /// 创建人
  69. /// </summary>
  70. [Comment("创建人")]
  71. public string CreateUser { get; set; }
  72. /// <summary>
  73. /// 创建时间
  74. /// </summary>
  75. [Comment("修改时间")]
  76. public DateTime? UpdateTime { get; set; }
  77. /// <summary>
  78. /// 修改人
  79. /// </summary>
  80. [Comment("修改人")]
  81. public string UpdateUser { get; set; }
  82. }
  83. }