MaTechnician.java 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. package com.ylx.massage.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import io.swagger.annotations.ApiModelProperty;
  7. import lombok.Data;
  8. import lombok.experimental.Accessors;
  9. import com.ylx.common.annotation.Excel;
  10. import com.ylx.common.core.domain.BaseEntity;
  11. import java.time.LocalDate;
  12. import java.util.Date;
  13. /**
  14. * 商户对象
  15. *
  16. * @author ylx
  17. * @date 2024-03-22
  18. */
  19. @Data
  20. @TableName("ma_technician")
  21. @Accessors(chain = true)
  22. public class MaTechnician extends BaseEntity {
  23. private static final long serialVersionUID = 1L;
  24. /**
  25. * 主键ID(商户ID)
  26. */
  27. @TableId(type = IdType.AUTO)
  28. private Integer id;
  29. /**
  30. * 姓名
  31. */
  32. @TableField("te_name")
  33. @Excel(name = "姓名")
  34. private String teName;
  35. /**
  36. * 昵称
  37. */
  38. @Excel(name = "昵称")
  39. @TableField("te_nick_name")
  40. private String teNickName;
  41. /**
  42. * 微信小程序登录会话密钥
  43. */
  44. @TableField("c_session_key")
  45. @ApiModelProperty("微信小程序登录会话密钥")
  46. private String cSessionKey;
  47. /**
  48. * 密码
  49. */
  50. @Excel(name = "密码")
  51. @TableField("te_pass_word")
  52. private String tePassword;
  53. /**
  54. * 用户的openId
  55. */
  56. @TableField("c_openid")
  57. @ApiModelProperty("用户的openId")
  58. private String cOpenid;
  59. /**
  60. * 性别(0女1男)
  61. */
  62. @Excel(name = "性别(0女1男)")
  63. @TableField("te_sex")
  64. private Integer teSex;
  65. /**
  66. * 电话
  67. */
  68. @Excel(name = "电话")
  69. @TableField("te_phone")
  70. private String tePhone;
  71. /**
  72. * 合作意向城市
  73. */
  74. @Excel(name = "合作意向城市")
  75. @TableField("te_address")
  76. private String teAddress;
  77. /**
  78. * 城市编码
  79. */
  80. private String teAreaCode;
  81. /**
  82. * 年龄
  83. */
  84. /**
  85. * 年龄
  86. */
  87. @Excel(name = "年龄")
  88. @TableField("te_age")
  89. private Integer teAge;
  90. /**
  91. * 头像
  92. */
  93. @Excel(name = "头像")
  94. @TableField("te_avatar")
  95. private String teAvatar;
  96. /**
  97. * 服务标签
  98. */
  99. @TableField("service_tag")
  100. private Integer serviceTag;
  101. /**
  102. * 开通服务类目ID
  103. */
  104. @Excel(name = "开通服务类目ID")
  105. @TableField("openService")
  106. private String openService;
  107. /**
  108. * 可服务项目名称
  109. */
  110. @TableField("te_project")
  111. private String teProject;
  112. // /**
  113. // * 生活照
  114. // */
  115. // @Excel(name = "生活照")
  116. // @TableField("life_photos")
  117. // private String lifePhotos;
  118. /**
  119. * 形象照
  120. */
  121. @Excel(name = "形象照")
  122. @TableField("avatar")
  123. private String avatar;
  124. //
  125. // /**
  126. // * 身份证
  127. // */
  128. // @Excel(name = "身份证")
  129. // @TableField("id_card")
  130. // private String idCard;
  131. //
  132. // /**
  133. // * 健康证
  134. // */
  135. // @Excel(name = "健康证")
  136. // @TableField("health_certificate")
  137. // private String healthCertificate;
  138. //
  139. // /**
  140. // * 从业资格证
  141. // */
  142. // @Excel(name = "从业资格证")
  143. // @TableField("qualification_certificate")
  144. // private String qualificationCertificate;
  145. //
  146. // /**
  147. // * 无犯罪证明
  148. // */
  149. // @Excel(name = "无犯罪证明")
  150. // @TableField("no_crime_record")
  151. // private String noCrimeRecord;
  152. // /**
  153. // * 宣传视频
  154. // */
  155. // @Excel(name = "宣传视频")
  156. // @TableField("promo_video")
  157. // private String promoVideo;
  158. // /**
  159. // * 承诺书
  160. // */
  161. // @Excel(name = "承诺书")
  162. // @TableField("commitment_pdf")
  163. // private String commitmentPdf;
  164. // /**
  165. // * 承诺录音
  166. // */
  167. // @Excel(name = "承诺录音")
  168. // @TableField("commitment_audio")
  169. // private String commitmentAudio;
  170. // /**
  171. // * 承诺录像
  172. // */
  173. // @Excel(name = "承诺录像")
  174. // @TableField("commitment_video")
  175. // private String commitmentVideo;
  176. /**
  177. * 身份证过期日期
  178. */
  179. @Excel(name = "身份证过期日期")
  180. @TableField("id_card_expiration_date")
  181. private LocalDate idCardExpirationDate;
  182. /**
  183. * 简介
  184. */
  185. @Excel(name = "简介")
  186. @TableField("te_brief")
  187. private String teBrief;
  188. /**
  189. * 健康证过期日期
  190. */
  191. @Excel(name = "健康证过期日期")
  192. @TableField("health_certificate_expiration_date")
  193. private LocalDate healthCertificateExpirationDate;
  194. /**
  195. * 服务状态(0服务中,1可服务)
  196. */
  197. @Excel(name = "服务状态(0服务中,1可服务)")
  198. private Integer serviceState;
  199. /**
  200. * 从业资格证过期日期
  201. */
  202. @Excel(name = "从业资格证过期日期")
  203. @TableField("qualification_certificate_expiration_date")
  204. private LocalDate qualificationCertificateExpirationDate;
  205. /**
  206. * 上岗状态 (-1:未上岗 0:已上岗 1:已申请)
  207. */
  208. @Excel(name = "上岗状态 (-1:未上岗 0:已上岗 1:已申请)")
  209. private Integer nStatus2;
  210. /**
  211. * 商户管理状态: 0-正常, 1-限制接单, 2-冻结, 3-注销
  212. */
  213. @Excel(name = "商户管理状态: 0-正常, 1-限制接单, 2-冻结, 3-注销")
  214. private String merchantStatus;
  215. /**
  216. * 商户状态(0休息中1在线接单)
  217. */
  218. @Excel(name = "商户状态(0休息中1在线接单)")
  219. private Integer postState;
  220. /**
  221. * 商户类型(0:真实商户 1:虚拟商户)
  222. */
  223. @Excel(name = "商户类型(0:真实商户 1:虚拟商户)")
  224. private Integer techType;
  225. /**
  226. * 是否启用(0否1是)
  227. */
  228. @Excel(name = "是否启用(0否1是)")
  229. private Integer teIsEnable;
  230. /**
  231. * 审核状态:-1-申请入住,0-待入驻,1-待审核,2-审核通过,3-审核驳回
  232. */
  233. @Excel(name = "审核状态:-1-申请入住,0-待入驻,1-待审核,2-审核通过,3-审核驳回")
  234. private Integer auditStatus;
  235. /**
  236. * 审核备注
  237. */
  238. @Excel(name = "审核备注")
  239. @TableField("audit_remark")
  240. private String auditRemark;
  241. /**
  242. * 审批时间
  243. */
  244. @Excel(name = "审批时间")
  245. private Date approveTime;
  246. /**
  247. * 是否删除(0否1是)
  248. */
  249. @Excel(name = "是否删除(0否1是)")
  250. private Integer isDelete;
  251. /**
  252. * 评分
  253. * 用户对技师的评分,通常为1-5分
  254. */
  255. @ApiModelProperty("评分")
  256. private Integer nStar;
  257. /**
  258. * 已服务数量
  259. * 技师累计完成的订单总数
  260. */
  261. @TableField("n_num")
  262. @ApiModelProperty("已服务订单数量")
  263. private Integer nNum;
  264. /**
  265. * 是否推荐(0否1是)
  266. */
  267. @Excel(name = "是否推荐(0否1是)")
  268. @TableField("is_recommend")
  269. @ApiModelProperty("是否推荐")
  270. private Integer isRecommend;
  271. }