package com.ylx.massage.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.experimental.Accessors; import com.ylx.common.annotation.Excel; import com.ylx.common.core.domain.BaseEntity; import java.util.Date; /** * 商户对象 * * @author ylx * @date 2024-03-22 */ @Data @TableName("ma_technician") @Accessors(chain = true) public class MaTechnician extends BaseEntity { private static final long serialVersionUID = 1L; /** * id */ @TableId(type = IdType.AUTO) private Long id; /** * 姓名 */ @TableField("te_name") @Excel(name = "姓名") private String teName; /** * 昵称 */ @Excel(name = "昵称") @TableField("te_nick_name") private String teNickName; /** * 微信小程序登录会话密钥 */ @TableField("c_session_key") @ApiModelProperty("微信小程序登录会话密钥") private String cSessionKey; /** * 密码 */ @Excel(name = "密码") @TableField("te_pass_word") private String tePassword; /** * 用户的openId */ @TableField("c_openid") @ApiModelProperty("用户的openId") private String cOpenid; /** * 性别(0女1男) */ @Excel(name = "性别(0女1男)") @TableField("te_sex") private Integer teSex; /** * 电话 */ @Excel(name = "电话") @TableField("te_phone") private String tePhone; /** * 合作意向城市 */ @Excel(name = "合作意向城市") @TableField("te_address") private String teAddress; /** * 城市编码 */ private String teAreaCode; /** * 年龄 */ /** * 年龄 */ @Excel(name = "年龄") @TableField("te_age") private Integer teAge; /** * 头像 */ @Excel(name = "头像") @TableField("te_avatar") private String teAvatar; /** * 服务标签 */ @TableField("service_tag") private Integer serviceTag; /** * 开通服务类目ID */ @Excel(name = "开通服务类目ID") @TableField("openService") private String openService; /** * 可服务项目名称 */ @TableField("te_project") private String teProject; /** * 生活照 */ @Excel(name = "生活照") @TableField("life_photos") private String lifePhotos; /** * 形象照 */ @Excel(name = "形象照") @TableField("avatar") private String avatar; /** * 身份证 */ @Excel(name = "身份证") @TableField("id_card") private String idCard; /** * 健康证 */ @Excel(name = "健康证") @TableField("health_certificate") private String healthCertificate; /** * 从业资格证 */ @Excel(name = "从业资格证") @TableField("qualification_certificate") private String qualificationCertificate; /** * 无犯罪证明 */ @Excel(name = "无犯罪证明") @TableField("no_crime_record") private String noCrimeRecord; /** * 宣传视频 */ @Excel(name = "宣传视频") @TableField("promo_video") private String promoVideo; /** * 承诺书 */ @Excel(name = "承诺书") @TableField("commitment_pdf") private String commitmentPdf; /** * 承诺录音 */ @Excel(name = "承诺录音") @TableField("commitment_audio") private String commitmentAudio; /** * 承诺录像 */ @Excel(name = "承诺录像") @TableField("commitment_video") private String commitmentVideo; /** * 简介 */ @Excel(name = "简介") @TableField("te_brief") private String teBrief; /** * 服务状态(0服务中,1可服务) */ @Excel(name = "服务状态(0服务中,1可服务)") private Integer serviceState; /** * 上岗状态 (-1:未上岗 0:已上岗 1:已申请) */ @Excel(name = "上岗状态 (-1:未上岗 0:已上岗 1:已申请)") private Integer nStatus2; /** * 商户管理状态: 0-正常, 1-限制接单, 2-冻结, 3-注销 */ @Excel(name = "商户管理状态: 0-正常, 1-限制接单, 2-冻结, 3-注销") private String merchantStatus; /** * 商户状态(0休息中1在线接单) */ @Excel(name = "商户状态(0休息中1在线接单)") private Integer postState; /** * 商户类型(0:真实商户 1:虚拟商户) */ @Excel(name = "商户类型(0:真实商户 1:虚拟商户)") private Integer techType; /** * 是否启用(0否1是) */ @Excel(name = "是否启用(0否1是)") private Integer teIsEnable; /** * 审核状态:-1-申请入住,0-待入驻,1-待审核,2-审核通过,3-审核驳回 */ @Excel(name = "审核状态:-1-申请入住,0-待入驻,1-待审核,2-审核通过,3-审核驳回") private Integer auditStatus; /** * 审批时间 */ @Excel(name = "审批时间") private Date approveTime; /** * 是否删除(0否1是) */ @Excel(name = "是否删除(0否1是)") private Integer isDelete; /** * 评分 * 用户对技师的评分,通常为1-5分 */ @ApiModelProperty("评分") private Integer nStar; /** * 已服务数量 * 技师累计完成的订单总数 */ @TableField("n_num") @ApiModelProperty("已服务订单数量") private Integer nNum; /** * 是否推荐(0否1是) */ @Excel(name = "是否推荐(0否1是)") @TableField("is_recommend") @ApiModelProperty("是否推荐") private Integer isRecommend; }