package com.hx.other.service.model; import com.fasterxml.jackson.annotation.JsonFormat; import com.gitee.sunchenbin.mybatis.actable.annotation.Column; import com.gitee.sunchenbin.mybatis.actable.annotation.Index; import com.gitee.sunchenbin.mybatis.actable.annotation.Table; import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.util.Date; /** * 业绩信息(收入确认表) * @Author: cmg * @Date: 2023/4/19 16:54 */ @Data @Table(name = "performance_info") public class PerformanceInfo extends BaseEntity{ @Column(comment = "业绩总额", length = 28, type = MySqlTypeConstant.DECIMAL) private BigDecimal performanceTotal = BigDecimal.ZERO; @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") @Column(comment="执行日期",type = MySqlTypeConstant.DATETIME) private Date deductionTime; @Column(comment = "服务门店id", length = 64, type = MySqlTypeConstant.VARCHAR) private String serviceShopId; @Column(comment = "服务门店名称", length = 64, type = MySqlTypeConstant.VARCHAR) private String serviceShopName; @Column(comment = "执行医生Id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) private String deductionDoctorId; @Column(comment = "执行医生名称", length = 64, type = MySqlTypeConstant.VARCHAR) private String deductionDoctorName; @Column(comment = "护士id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) private String nurseCorpUserId; @Column(comment = "护士名称", length = 64, type = MySqlTypeConstant.VARCHAR) private String nurseCorpUserName; @Column(comment = "用户id", length = 64, type = MySqlTypeConstant.VARCHAR, isNull = false) private String userId; @Column(comment="用户名称", length = 50, type = MySqlTypeConstant.VARCHAR) private String userName; @Column(comment = "用户所属咨询师id(Employee id) 用户划扣时的所属咨询师", length = 64, type = MySqlTypeConstant.VARCHAR) private String belongConsultantId; @Column(comment = "用户所属咨询师名称", length = 64, type = MySqlTypeConstant.VARCHAR) private String belongConsultantName; @Column(comment = "项目id/商品id(公用标识)", length = 64, type = MySqlTypeConstant.VARCHAR) private String commonId; @Column(comment = "项目名称/商品名称", length = 64, type = MySqlTypeConstant.VARCHAR) private String commonName; }