平安校园
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ClientUser.cs 9.5 KiB

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