User.cs 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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 Position { get; set; }
  64. /// <summary>
  65. /// 邮箱
  66. /// </summary>
  67. [DataColumn]
  68. public string Email { get; set; }
  69. /// <summary>
  70. /// 签名
  71. /// </summary>
  72. [DataColumn]
  73. public string Signature { get; set; }
  74. /// <summary>
  75. /// 自我介绍
  76. /// </summary>
  77. [DataColumn]
  78. public string Description { get; set; }
  79. /// <summary>
  80. /// 是否是领导
  81. /// </summary>
  82. [DataColumn]
  83. public bool IsLeader { get; set; }
  84. /// <summary>
  85. /// 入职时间
  86. /// </summary>
  87. [DataColumn]
  88. public DateTime EntryDataTime { get; set; }
  89. /// <summary>
  90. /// 城市
  91. /// </summary>
  92. [DataColumn]
  93. public string City { get; set; }
  94. /// <summary>
  95. /// 是否接收私信
  96. /// </summary>
  97. [DataColumn]
  98. public bool IsPrivateLetter { get; set; }
  99. /// <summary>
  100. /// 是否接收通知
  101. /// </summary>
  102. [DataColumn]
  103. public bool IsNotice { get; set; }
  104. /// <summary>
  105. /// 是否接收回复
  106. /// </summary>
  107. [DataColumn]
  108. public bool IsReply { get; set; }
  109. /// <summary>
  110. /// 是否静音
  111. /// </summary>
  112. [DataColumn]
  113. public bool IsMute { get; set; }
  114. /// <summary>
  115. /// 是否震动
  116. /// </summary>
  117. [DataColumn]
  118. public bool IsShake { get; set; }
  119. /// <summary>
  120. /// 环信ID
  121. /// </summary>
  122. [DataColumn]
  123. public string ImId { get; set; }
  124. /// <summary>
  125. /// 二维码
  126. /// </summary>
  127. [DataColumn]
  128. public string QRCoder { get; set; }
  129. /// <summary>
  130. /// 是否上传
  131. /// </summary>
  132. /// <value></value>
  133. [DataColumn]
  134. public bool IsUpload { get; set; }
  135. /// <summary>
  136. /// 是否禁用
  137. /// </summary>
  138. /// <value></value>
  139. [DataColumn]
  140. public bool IsDisable { get; set; }
  141. /// <summary>
  142. /// 禁用时间
  143. /// </summary>
  144. /// <value></value>
  145. [DataColumn]
  146. public DateTime DisableTiem { get; set; }
  147. /// <summary>
  148. /// 微信唯一标示码
  149. /// </summary>
  150. /// <value></value>
  151. [DataColumn]
  152. public string OpenId { get; set; }
  153. /// <summary>
  154. /// 是否VIP
  155. /// </summary>
  156. /// <value></value>
  157. [DataColumn]
  158. public bool IsVip { get; set; }
  159. /// <summary>
  160. /// 会员类型 月卡 季卡 年卡
  161. /// </summary>
  162. /// <value></value>
  163. [DataColumn]
  164. public int TypeId { get; set; }
  165. /// <summary>
  166. /// 终端 pc android ios
  167. /// </summary>
  168. /// <value></value>
  169. [DataColumn]
  170. public int Port { get; set; }
  171. /// <summary>
  172. /// 会员开始时间
  173. /// </summary>
  174. /// <value></value>
  175. [DataColumn]
  176. public DateTime BeginTime { get; set; }
  177. /// <summary>
  178. /// 会员结束时间
  179. /// </summary>
  180. /// <value></value>
  181. [DataColumn]
  182. public DateTime EndTime { get; set; }
  183. /// <summary>
  184. /// 累计价格
  185. /// </summary>
  186. /// <value></value>
  187. [DataColumn]
  188. public decimal AccumulativePrice { get; set; }
  189. /// <summary>
  190. /// 是否自动续费
  191. /// </summary>
  192. /// <value></value>
  193. [DataColumn]
  194. public bool IsRenewal { get; set; }
  195. /// <summary>
  196. /// 续费次数
  197. /// </summary>
  198. /// <value></value>
  199. [DataColumn]
  200. public int RenewalCount { get; set; }
  201. /// <summary>
  202. /// 备注
  203. /// </summary>
  204. /// <value></value>
  205. public string Remark { get; set; }
  206. /// <summary>
  207. /// 是否冻结
  208. /// </summary>
  209. /// <value></value>
  210. [DataColumn]
  211. public bool IsFreeze { get; set; }
  212. /// <summary>
  213. /// 登录时间
  214. /// </summary>
  215. /// <value></value>
  216. [DataColumn]
  217. public DateTime LoginTime { get; set; }
  218. /// <summary>
  219. /// 省份
  220. /// </summary>
  221. /// <value></value>
  222. [DataColumn]
  223. public string Province { get; set; }
  224. /// <summary>
  225. /// 出版社
  226. /// </summary>
  227. /// <value></value>
  228. [DataColumn]
  229. public string Press { get; set; }
  230. }
  231. }