MaTechnician.java 6.7 KB

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