User.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. [DataColumn]
  30. public string AvatarUrl { get; set; }
  31. /// <summary>
  32. /// 性别
  33. /// Gender
  34. /// </summary>
  35. [DataColumn]
  36. public string Gender { get; set; }
  37. /// <summary>
  38. /// 角色id
  39. /// </summary>
  40. [DataColumn]
  41. public int RoleId { get; set; }
  42. /// <summary>
  43. /// 部门id
  44. /// </summary>
  45. [DataColumn]
  46. public int DepartmentId { get; set; }
  47. /// <summary>
  48. /// 职位
  49. /// </summary>
  50. [DataColumn]
  51. public string Position { get; set; }
  52. /// <summary>
  53. /// 邮箱
  54. /// </summary>
  55. [DataColumn]
  56. public string Email { get; set; }
  57. /// <summary>
  58. /// 签名
  59. /// </summary>
  60. [DataColumn]
  61. public string Signature { get; set; }
  62. /// <summary>
  63. /// 自我介绍
  64. /// </summary>
  65. [DataColumn]
  66. public string Description { get; set; }
  67. /// <summary>
  68. /// 是否是领导
  69. /// </summary>
  70. [DataColumn]
  71. public bool IsLeader { get; set; }
  72. /// <summary>
  73. /// 入职时间
  74. /// </summary>
  75. [DataColumn]
  76. public DateTime EntryDataTime { get; set; }
  77. /// <summary>
  78. /// 城市
  79. /// </summary>
  80. [DataColumn]
  81. public string City { get; set; }
  82. /// <summary>
  83. /// 是否接收私信
  84. /// </summary>
  85. [DataColumn]
  86. public bool IsPrivateLetter { get; set; }
  87. /// <summary>
  88. /// 是否接收通知
  89. /// </summary>
  90. [DataColumn]
  91. public bool IsNotice { get; set; }
  92. /// <summary>
  93. /// 是否接收回复
  94. /// </summary>
  95. [DataColumn]
  96. public bool IsReply { get; set; }
  97. /// <summary>
  98. /// 是否静音
  99. /// </summary>
  100. [DataColumn]
  101. public bool IsMute { get; set; }
  102. /// <summary>
  103. /// 是否震动
  104. /// </summary>
  105. [DataColumn]
  106. public bool IsShake { get; set; }
  107. /// <summary>
  108. /// 环信ID
  109. /// </summary>
  110. [DataColumn]
  111. public string ImId { get; set; }
  112. /// <summary>
  113. /// 二维码
  114. /// </summary>
  115. [DataColumn]
  116. public string QRCoder { get; set; }
  117. /// <summary>
  118. /// 是否上传
  119. /// </summary>
  120. /// <value></value>
  121. [DataColumn]
  122. public bool IsUpload { get; set; }
  123. /// <summary>
  124. /// 是否禁用
  125. /// </summary>
  126. /// <value></value>
  127. [DataColumn]
  128. public bool IsDisable { get; set; }
  129. /// <summary>
  130. /// 微信唯一标示码
  131. /// </summary>
  132. /// <value></value>
  133. [DataColumn]
  134. public string OpenId { get; set; }
  135. /// <summary>
  136. /// 是否VIP
  137. /// </summary>
  138. /// <value></value>
  139. [DataColumn]
  140. public bool IsVip { get; set; }
  141. /// <summary>
  142. /// 会员类型 月卡 季卡 年卡
  143. /// </summary>
  144. /// <value></value>
  145. [DataColumn]
  146. public int TypeId { get; set; }
  147. /// <summary>
  148. /// 终端 pc android ios
  149. /// </summary>
  150. /// <value></value>
  151. [DataColumn]
  152. public int Port { get; set; }
  153. /// <summary>
  154. /// 会员开始时间
  155. /// </summary>
  156. /// <value></value>
  157. [DataColumn]
  158. public DateTime BeginTime { get; set; }
  159. /// <summary>
  160. /// 会员结束时间
  161. /// </summary>
  162. /// <value></value>
  163. [DataColumn]
  164. public DateTime EndTime { get; set; }
  165. /// <summary>
  166. /// 累计价格
  167. /// </summary>
  168. /// <value></value>
  169. [DataColumn]
  170. public decimal AccumulativePrice { get; set; }
  171. /// <summary>
  172. /// 是否自动续费
  173. /// </summary>
  174. /// <value></value>
  175. [DataColumn]
  176. public bool IsRenewal { get; set; }
  177. /// <summary>
  178. /// 备注
  179. /// </summary>
  180. /// <value></value>
  181. public string Remark { get; set; }
  182. /// <summary>
  183. /// 冻结状态 1冻结 2 未冻结 0 全部
  184. /// </summary>
  185. /// <value></value>
  186. public int DisableTypeId { get; set; }
  187. }
  188. }