You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
4.3 KiB

2 years ago
  1. using System;
  2. using System.Linq;
  3. using System.Text;
  4. using SqlSugar;
  5. namespace Entity.Sugar
  6. {
  7. ///<summary>
  8. ///
  9. ///</summary>
  10. [SugarTable("OTB_SYS_Departments")]
  11. public partial class OTB_SYS_Departments : ModelContext
  12. {
  13. public OTB_SYS_Departments(){
  14. }
  15. /// <summary>
  16. /// Desc:
  17. /// Default:
  18. /// Nullable:False
  19. /// </summary>
  20. [SugarColumn(IsPrimaryKey=true)]
  21. public string DepartmentID {get;set;}
  22. public const string CN_DEPARTMENTID = "DepartmentID";
  23. /// <summary>
  24. /// Desc:
  25. /// Default:
  26. /// Nullable:False
  27. /// </summary>
  28. public string DepartmentName {get;set;}
  29. public const string CN_DEPARTMENTNAME = "DepartmentName";
  30. /// <summary>
  31. /// Desc:
  32. /// Default:
  33. /// Nullable:True
  34. /// </summary>
  35. public string DepartmentShortName {get;set;}
  36. public const string CN_DEPARTMENTSHORTNAME = "DepartmentShortName";
  37. /// <summary>
  38. /// Desc:
  39. /// Default:
  40. /// Nullable:False
  41. /// </summary>
  42. public string ChiefOfDepartmentID {get;set;}
  43. public const string CN_CHIEFOFDEPARTMENTID = "ChiefOfDepartmentID";
  44. /// <summary>
  45. /// Desc:
  46. /// Default:
  47. /// Nullable:True
  48. /// </summary>
  49. public int? LevelOfDepartment {get;set;}
  50. public const string CN_LEVELOFDEPARTMENT = "LevelOfDepartment";
  51. /// <summary>
  52. /// Desc:
  53. /// Default:
  54. /// Nullable:True
  55. /// </summary>
  56. public string NameOfLevel {get;set;}
  57. public const string CN_NAMEOFLEVEL = "NameOfLevel";
  58. /// <summary>
  59. /// Desc:
  60. /// Default:
  61. /// Nullable:True
  62. /// </summary>
  63. public string ParentDepartmentID {get;set;}
  64. public const string CN_PARENTDEPARTMENTID = "ParentDepartmentID";
  65. /// <summary>
  66. /// Desc:
  67. /// Default:
  68. /// Nullable:True
  69. /// </summary>
  70. public int? OrderByValue {get;set;}
  71. public const string CN_ORDERBYVALUE = "OrderByValue";
  72. /// <summary>
  73. /// Desc:Y:有效 N:無效
  74. /// Default:
  75. /// Nullable:True
  76. /// </summary>
  77. public string Effective {get;set;}
  78. public const string CN_EFFECTIVE = "Effective";
  79. /// <summary>
  80. /// Desc:
  81. /// Default:
  82. /// Nullable:True
  83. /// </summary>
  84. public string Memo {get;set;}
  85. public const string CN_MEMO = "Memo";
  86. /// <summary>
  87. /// Desc:
  88. /// Default:
  89. /// Nullable:True
  90. /// </summary>
  91. public string CreateUser {get;set;}
  92. public const string CN_CREATEUSER = "CreateUser";
  93. /// <summary>
  94. /// Desc:
  95. /// Default:
  96. /// Nullable:True
  97. /// </summary>
  98. public DateTime? CreateDate {get;set;}
  99. public const string CN_CREATEDATE = "CreateDate";
  100. /// <summary>
  101. /// Desc:
  102. /// Default:
  103. /// Nullable:True
  104. /// </summary>
  105. public string ModifyUser {get;set;}
  106. public const string CN_MODIFYUSER = "ModifyUser";
  107. /// <summary>
  108. /// Desc:
  109. /// Default:
  110. /// Nullable:True
  111. /// </summary>
  112. public DateTime? ModifyDate {get;set;}
  113. public const string CN_MODIFYDATE = "ModifyDate";
  114. /// <summary>
  115. /// Desc:
  116. /// Default:N
  117. /// Nullable:True
  118. /// </summary>
  119. public string DelStatus {get;set;}
  120. public const string CN_DELSTATUS = "DelStatus";
  121. /// <summary>
  122. /// Desc:
  123. /// Default:
  124. /// Nullable:False
  125. /// </summary>
  126. [SugarColumn(IsPrimaryKey=true)]
  127. public string OrgID {get;set;}
  128. public const string CN_ORGID = "OrgID";
  129. }
  130. }