平安校园
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

290 wiersze
9.5 KiB

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// C端用户
  5. ///</summary>
  6. [SugarTable("client_user", TableDescription = "C端用户")]
  7. [Tenant(SqlSugarConst.DB_DEFAULT)]
  8. public class ClientUser : DataEntityBase
  9. {
  10. /// <summary>
  11. /// 头像
  12. ///</summary>
  13. [SugarColumn(ColumnName = "Avatar", ColumnDescription = "头像", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  14. public string Avatar { get; set; }
  15. /// <summary>
  16. /// 签名
  17. ///</summary>
  18. [SugarColumn(ColumnName = "Signature", ColumnDescription = "签名", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  19. public string Signature { get; set; }
  20. /// <summary>
  21. /// 账号
  22. ///</summary>
  23. [SugarColumn(ColumnName = "Account", ColumnDescription = "账号", Length = 200, IsNullable = false)]
  24. public string Account { get; set; }
  25. /// <summary>
  26. /// 密码
  27. ///</summary>
  28. [SugarColumn(ColumnName = "Password", ColumnDescription = "密码", Length = 200, IsNullable = false)]
  29. public string Password { get; set; }
  30. /// <summary>
  31. /// 姓名
  32. ///</summary>
  33. [SugarColumn(ColumnName = "Name", ColumnDescription = "姓名", Length = 200, IsNullable = true)]
  34. public string Name { get; set; }
  35. /// <summary>
  36. /// 昵称
  37. ///</summary>
  38. [SugarColumn(ColumnName = "Nickname", ColumnDescription = "昵称", Length = 200, IsNullable = true)]
  39. public string Nickname { get; set; }
  40. /// <summary>
  41. /// 性别
  42. ///</summary>
  43. [SugarColumn(ColumnName = "Gender", ColumnDescription = "性别", Length = 200, IsNullable = true)]
  44. public string Gender { get; set; }
  45. /// <summary>
  46. /// 年龄
  47. ///</summary>
  48. [SugarColumn(ColumnName = "Age", ColumnDescription = "年龄", Length = 200, IsNullable = true)]
  49. public string Age { get; set; }
  50. /// <summary>
  51. /// 出生日期
  52. ///</summary>
  53. [SugarColumn(ColumnName = "Birthday", ColumnDescription = "出生日期", Length = 200, IsNullable = true)]
  54. public string Birthday { get; set; }
  55. /// <summary>
  56. /// 民族
  57. ///</summary>
  58. [SugarColumn(ColumnName = "Nation", ColumnDescription = "民族", Length = 200, IsNullable = true)]
  59. public string Nation { get; set; }
  60. /// <summary>
  61. /// 籍贯
  62. ///</summary>
  63. [SugarColumn(ColumnName = "NativePlace", ColumnDescription = "籍贯", Length = 200, IsNullable = true)]
  64. public string NativePlace { get; set; }
  65. /// <summary>
  66. /// 家庭住址
  67. ///</summary>
  68. [SugarColumn(ColumnName = "HomeAddress", ColumnDescription = "家庭住址", IsNullable = true)]
  69. public string HomeAddress { get; set; }
  70. /// <summary>
  71. /// 通信地址
  72. ///</summary>
  73. [SugarColumn(ColumnName = "MailingAddress", ColumnDescription = "通信地址", IsNullable = true)]
  74. public string MailingAddress { get; set; }
  75. /// <summary>
  76. /// 证件类型
  77. ///</summary>
  78. [SugarColumn(ColumnName = "IdCardType", ColumnDescription = "证件类型", Length = 200, IsNullable = true)]
  79. public string IdCardType { get; set; }
  80. /// <summary>
  81. /// 证件号码
  82. ///</summary>
  83. [SugarColumn(ColumnName = "IdCardNumber", ColumnDescription = "证件号码", Length = 200, IsNullable = true)]
  84. public string IdCardNumber { get; set; }
  85. /// <summary>
  86. /// 文化程度
  87. ///</summary>
  88. [SugarColumn(ColumnName = "CultureLevel", ColumnDescription = "文化程度", Length = 200, IsNullable = true)]
  89. public string CultureLevel { get; set; }
  90. /// <summary>
  91. /// 政治面貌
  92. ///</summary>
  93. [SugarColumn(ColumnName = "PoliticalOutlook", ColumnDescription = "政治面貌", Length = 200, IsNullable = true)]
  94. public string PoliticalOutlook { get; set; }
  95. /// <summary>
  96. /// 毕业院校
  97. ///</summary>
  98. [SugarColumn(ColumnName = "College", ColumnDescription = "毕业院校", Length = 200, IsNullable = true)]
  99. public string College { get; set; }
  100. /// <summary>
  101. /// 学历
  102. ///</summary>
  103. [SugarColumn(ColumnName = "Education", ColumnDescription = "学历", Length = 200, IsNullable = true)]
  104. public string Education { get; set; }
  105. /// <summary>
  106. /// 学制
  107. ///</summary>
  108. [SugarColumn(ColumnName = "EduLength", ColumnDescription = "学制", Length = 200, IsNullable = true)]
  109. public string EduLength { get; set; }
  110. /// <summary>
  111. /// 学位
  112. ///</summary>
  113. [SugarColumn(ColumnName = "Degree", ColumnDescription = "学位", Length = 200, IsNullable = true)]
  114. public string Degree { get; set; }
  115. /// <summary>
  116. /// 手机
  117. ///</summary>
  118. [SugarColumn(ColumnName = "Phone", ColumnDescription = "手机", Length = 200, IsNullable = true)]
  119. public string Phone { get; set; }
  120. /// <summary>
  121. /// 邮箱
  122. ///</summary>
  123. [SugarColumn(ColumnName = "Email", ColumnDescription = "邮箱", Length = 200, IsNullable = true)]
  124. public string Email { get; set; }
  125. /// <summary>
  126. /// 家庭电话
  127. ///</summary>
  128. [SugarColumn(ColumnName = "HomeTel", ColumnDescription = "家庭电话", Length = 200, IsNullable = true)]
  129. public string HomeTel { get; set; }
  130. /// <summary>
  131. /// 办公电话
  132. ///</summary>
  133. [SugarColumn(ColumnName = "OfficeTel", ColumnDescription = "办公电话", Length = 200, IsNullable = true)]
  134. public string OfficeTel { get; set; }
  135. /// <summary>
  136. /// 紧急联系人
  137. ///</summary>
  138. [SugarColumn(ColumnName = "EmergencyContact", ColumnDescription = "紧急联系人", Length = 200, IsNullable = true)]
  139. public string EmergencyContact { get; set; }
  140. /// <summary>
  141. /// 紧急联系人电话
  142. ///</summary>
  143. [SugarColumn(ColumnName = "EmergencyPhone", ColumnDescription = "紧急联系人电话", Length = 200, IsNullable = true)]
  144. public string EmergencyPhone { get; set; }
  145. /// <summary>
  146. /// 紧急联系人地址
  147. ///</summary>
  148. [SugarColumn(ColumnName = "EmergencyAddress", ColumnDescription = "紧急联系人地址", IsNullable = true)]
  149. public string EmergencyAddress { get; set; }
  150. /// <summary>
  151. /// 员工编号
  152. ///</summary>
  153. [SugarColumn(ColumnName = "EmpNo", ColumnDescription = "员工编号", Length = 200, IsNullable = true)]
  154. public string EmpNo { get; set; }
  155. /// <summary>
  156. /// 入职日期
  157. ///</summary>
  158. [SugarColumn(ColumnName = "EntryDate", ColumnDescription = "入职日期", Length = 200, IsNullable = true)]
  159. public string EntryDate { get; set; }
  160. /// <summary>
  161. /// 机构id
  162. ///</summary>
  163. [SugarColumn(ColumnName = "OrgId", ColumnDescription = "机构id")]
  164. public long OrgId { get; set; }
  165. /// <summary>
  166. /// 职位id
  167. ///</summary>
  168. [SugarColumn(ColumnName = "PositionId", ColumnDescription = "职位id")]
  169. public long PositionId { get; set; }
  170. /// <summary>
  171. /// 职级
  172. ///</summary>
  173. [SugarColumn(ColumnName = "PositionLevel", ColumnDescription = "职级", Length = 200, IsNullable = true)]
  174. public string PositionLevel { get; set; }
  175. /// <summary>
  176. /// 主管id
  177. ///</summary>
  178. [SugarColumn(ColumnName = "DirectorId", ColumnDescription = "主管id", IsNullable = true)]
  179. public long DirectorId { get; set; }
  180. /// <summary>
  181. /// 兼任信息
  182. ///</summary>
  183. [SugarColumn(ColumnName = "PositionJson", ColumnDescription = "兼任信息", Length = 100, IsNullable = true)]
  184. public string PositionJson { get; set; }
  185. /// <summary>
  186. /// 上次登录ip
  187. ///</summary>
  188. [SugarColumn(ColumnName = "LastLoginIp", ColumnDescription = "上次登录ip", Length = 200, IsNullable = true)]
  189. public string LastLoginIp { get; set; }
  190. /// <summary>
  191. /// 上次登录地点
  192. ///</summary>
  193. [SugarColumn(ColumnName = "LastLoginAddress", ColumnDescription = "上次登录地点", Length = 200, IsNullable = true)]
  194. public string LastLoginAddress { get; set; }
  195. /// <summary>
  196. /// 上次登录时间
  197. ///</summary>
  198. [SugarColumn(ColumnName = "LastLoginTime", ColumnDescription = "上次登录时间", IsNullable = true)]
  199. public DateTime? LastLoginTime { get; set; }
  200. /// <summary>
  201. /// 上次登录设备
  202. ///</summary>
  203. [SugarColumn(ColumnName = "LastLoginDevice", ColumnDescription = "上次登录设备", IsNullable = true)]
  204. public string LastLoginDevice { get; set; }
  205. /// <summary>
  206. /// 最新登录ip
  207. ///</summary>
  208. [SugarColumn(ColumnName = "LatestLoginIp", ColumnDescription = "最新登录ip", Length = 200, IsNullable = true)]
  209. public string LatestLoginIp { get; set; }
  210. /// <summary>
  211. /// 最新登录地点
  212. ///</summary>
  213. [SugarColumn(ColumnName = "LatestLoginAddress", ColumnDescription = "最新登录地点", Length = 200, IsNullable = true)]
  214. public string LatestLoginAddress { get; set; }
  215. /// <summary>
  216. /// 最新登录时间
  217. ///</summary>
  218. [SugarColumn(ColumnName = "LatestLoginTime", ColumnDescription = "最新登录时间", IsNullable = true)]
  219. public DateTime? LatestLoginTime { get; set; }
  220. /// <summary>
  221. /// 最新登录设备
  222. ///</summary>
  223. [SugarColumn(ColumnName = "LatestLoginDevice", ColumnDescription = "最新登录设备", IsNullable = true)]
  224. public string LatestLoginDevice { get; set; }
  225. /// <summary>
  226. /// 用户状态
  227. ///</summary>
  228. [SugarColumn(ColumnName = "Status", ColumnDescription = "用户状态", Length = 200, IsNullable = true)]
  229. public string Status { get; set; }
  230. /// <summary>
  231. /// 排序码
  232. ///</summary>
  233. [SugarColumn(ColumnName = "SortCode", ColumnDescription = "排序码", IsNullable = true)]
  234. public int? SortCode { get; set; }
  235. }