Store.java 3.02 KB
package vion.model;

import com.baomidou.mybatisplus.annotation.*;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Getter;
import lombok.Setter;
import vion.dto.StoreDTO;
import vion.vo.StoreVO;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 门店信息
 */
@Getter
@Setter
@TableName(value = "tbl_store_info")
@AutoMappers({
        @AutoMapper(target = StoreVO.class),
        @AutoMapper(target = StoreDTO.class),
})
public class Store {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 门店名称
     */
    @TableField(condition = "%s ILIKE CONCAT('%%',#{%s},'%%')")
    private String name;
    /**
     * 销售人
     */
    private Integer salesperson;
    /**
     * 客户姓名
     */
    private String customerName;
    /**
     * 实施类型:1纯供货、2供货+安装、3续保、4维修
     */
    private Integer implementType;
    /**
     * 项目状态:1待确认、2进行中、3已完成、4挂起
     */
    private Integer projectState;
    /**
     * 创建者
     */
    private Long createUser;
    /**
     * 修改者
     */
    private Long modifyUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 项目阶段
     */
    private Integer projectStage;

    /**
     * 集团id
     */
    private Long accountId;

    /**
     * 立项日期
     */
    private LocalDate estDate;

    /**
     * 主合同id
     */
    private Long masterContract;

    /**
     * 维保状态
     */
    private String maintainStatus;

    /**
     * 产品线属性
     */
    private Integer productLine;

    /**
     * 是否重点项目 0:不是 1:是
     */
    private Integer isImportant;

    /**
     * 任务详情
     */
    private String taskDetail;

    /**
     * 实际完成日期
     */
    private LocalDate finishDate;

    /**
     * 完成百分比
     */
    private Double percentage;

    /**
     * 当前卡点
     */
    private String stuckPoint;

    /**
     * 主要产品
     */
    private Integer mainProduct;

    /**
     * 点位数量
     */
    private Integer pointNum;

    /**
     * 计划完成日期
     */
    private LocalDate planFinishDate;

    /**
     * 项目规模
     */
    private Integer projectSize;

    /**
     * 巡检次数
     */
    private Integer inspectCount;

    /**
     * 巡检要求
     */
    private String inspectRemark;

    /**
     * 施工数量
     */
    private Integer constructionCount;

    /**
     * 钉钉机器人推送地址的token
     */
    private String botToken;

    /**
     * 定时任务id
     */
    private String scheduleId;

    /**
     * cron表达式
     */
    private String cronStr;

}