User.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. using System;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity
  4. {
  5. /// <summary>
  6. /// 用户
  7. /// </summary>
  8. [DataTable("tede_user")]
  9. public class User : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 手机
  13. /// </summary>
  14. [DataColumn]
  15. public string Phone { get; set; }
  16. /// <summary>
  17. /// 昵称
  18. /// </summary>
  19. [DataColumn]
  20. public string Nick { get; set; }
  21. /// <summary>
  22. /// 姓名
  23. /// </summary>
  24. [DataColumn]
  25. public string Name { get; set; }
  26. /// <summary>
  27. /// 登陆名
  28. /// </summary>
  29. /// <value></value>
  30. [DataColumn]
  31. public string LoginAccountNumber { get; set; }
  32. /// <summary>
  33. /// 机构id
  34. /// </summary>
  35. /// <value></value>
  36. [DataColumn]
  37. public int OrganizationId { get; set; }
  38. /// <summary>
  39. /// 头像地址
  40. /// </summary>
  41. [DataColumn]
  42. public string AvatarUrl { get; set; }
  43. /// <summary>
  44. /// 性别
  45. /// Gender
  46. /// </summary>
  47. [DataColumn]
  48. public string Gender { get; set; }
  49. /// <summary>
  50. /// 角色id
  51. /// </summary>
  52. [DataColumn]
  53. public int RoleId { get; set; }
  54. /// <summary>
  55. /// 部门id
  56. /// </summary>
  57. [DataColumn]
  58. public int DepartmentId { get; set; }
  59. /// <summary>
  60. /// 部门名称
  61. /// </summary>
  62. [DataColumn]
  63. public string DepartmentName { get; set; }
  64. /// <summary>
  65. /// 职位
  66. /// </summary>
  67. [DataColumn]
  68. public string Position { get; set; }
  69. /// <summary>
  70. /// 邮箱
  71. /// </summary>
  72. [DataColumn]
  73. public string Email { get; set; }
  74. /// <summary>
  75. /// 签名
  76. /// </summary>
  77. [DataColumn]
  78. public string Signature { get; set; }
  79. /// <summary>
  80. /// 自我介绍
  81. /// </summary>
  82. [DataColumn]
  83. public string Description { get; set; }
  84. /// <summary>
  85. /// 是否是领导
  86. /// </summary>
  87. [DataColumn]
  88. public bool IsLeader { get; set; }
  89. /// <summary>
  90. /// 入职时间
  91. /// </summary>
  92. [DataColumn]
  93. public DateTime EntryDataTime { get; set; }
  94. /// <summary>
  95. /// 城市
  96. /// </summary>
  97. [DataColumn]
  98. public string City { get; set; }
  99. /// <summary>
  100. /// 是否接收私信
  101. /// </summary>
  102. [DataColumn]
  103. public bool IsPrivateLetter { get; set; }
  104. /// <summary>
  105. /// 是否接收通知
  106. /// </summary>
  107. [DataColumn]
  108. public bool IsNotice { get; set; }
  109. /// <summary>
  110. /// 是否接收回复
  111. /// </summary>
  112. [DataColumn]
  113. public bool IsReply { get; set; }
  114. /// <summary>
  115. /// 是否静音
  116. /// </summary>
  117. [DataColumn]
  118. public bool IsMute { get; set; }
  119. /// <summary>
  120. /// 是否震动
  121. /// </summary>
  122. [DataColumn]
  123. public bool IsShake { get; set; }
  124. /// <summary>
  125. /// 环信ID
  126. /// </summary>
  127. [DataColumn]
  128. public string ImId { get; set; }
  129. /// <summary>
  130. /// 二维码
  131. /// </summary>
  132. [DataColumn]
  133. public string QRCoder { get; set; }
  134. /// <summary>
  135. /// 是否上传
  136. /// </summary>
  137. /// <value></value>
  138. [DataColumn]
  139. public bool IsUpload { get; set; }
  140. /// <summary>
  141. /// 是否禁用
  142. /// </summary>
  143. /// <value></value>
  144. [DataColumn]
  145. public bool IsDisable { get; set; }
  146. /// <summary>
  147. /// 禁用时间
  148. /// </summary>
  149. /// <value></value>
  150. [DataColumn]
  151. public DateTime DisableTiem { get; set; }
  152. /// <summary>
  153. /// 微信唯一标示码
  154. /// </summary>
  155. /// <value></value>
  156. [DataColumn]
  157. public string OpenId { get; set; }
  158. /// <summary>
  159. /// 是否VIP
  160. /// </summary>
  161. /// <value></value>
  162. [DataColumn]
  163. public bool IsVip { get; set; }
  164. /// <summary>
  165. /// 会员类型 1月卡 2季卡 3年卡
  166. /// </summary>
  167. /// <value></value>
  168. [DataColumn]
  169. public int TypeId { get; set; }
  170. /// <summary>
  171. /// 终端 pc android ios
  172. /// </summary>
  173. /// <value></value>
  174. [DataColumn]
  175. public int Port { get; set; }
  176. /// <summary>
  177. /// 会员开始时间
  178. /// </summary>
  179. /// <value></value>
  180. [DataColumn]
  181. public DateTime BeginTime { get; set; }
  182. /// <summary>
  183. /// 会员结束时间
  184. /// </summary>
  185. /// <value></value>
  186. [DataColumn]
  187. public DateTime EndTime { get; set; }
  188. /// <summary>
  189. /// 累计价格
  190. /// </summary>
  191. /// <value></value>
  192. [DataColumn]
  193. public decimal AccumulativePrice { get; set; }
  194. /// <summary>
  195. /// 是否自动续费
  196. /// </summary>
  197. /// <value></value>
  198. [DataColumn]
  199. public bool IsRenewal { get; set; }
  200. /// <summary>
  201. /// 续费次数
  202. /// </summary>
  203. /// <value></value>
  204. [DataColumn]
  205. public int RenewalCount { get; set; }
  206. /// <summary>
  207. /// 备注
  208. /// </summary>
  209. /// <value></value>
  210. public string Remark { get; set; }
  211. /// <summary>
  212. /// 是否冻结
  213. /// </summary>
  214. /// <value></value>
  215. [DataColumn]
  216. public bool IsFreeze { get; set; }
  217. /// <summary>
  218. /// 登录时间
  219. /// </summary>
  220. /// <value></value>
  221. [DataColumn]
  222. public DateTime LoginTime { get; set; }
  223. /// <summary>
  224. /// 省份
  225. /// </summary>
  226. /// <value></value>
  227. [DataColumn]
  228. public string Province { get; set; }
  229. /// <summary>
  230. /// 出版社
  231. /// </summary>
  232. /// <value></value>
  233. [DataColumn]
  234. public string Press { get; set; }
  235. /// <summary>
  236. /// 历史用户头像
  237. /// </summary>
  238. /// <value></value>
  239. [DataColumn]
  240. public string HistoryAvatarUrl { get; set; }
  241. /// <summary>
  242. /// 是否删除
  243. /// </summary>
  244. /// <value></value>
  245. [DataColumn]
  246. public bool IsDelete { get; set; }
  247. }
  248. }