Store.java
2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
package vion.model;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Data;
import vion.dto.StoreDTO;
import vion.vo.StoreVO;
import java.util.Date;
/**
 * 门店信息
 */
@Data
@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 = SqlCondition.LIKE)
    private String name;
    /** 销售人 */
    private Integer salesperson;
    /** 客户姓名 */
    private String customerName;
    /** 实施类型:0纯供货、1供货+安装、3续保、4维修 */
    private Integer implementType;
    /** 项目状态:0待确认、1进行中、2已完成、3挂起 */
    private Integer projectState;
    /** 创建者 */
    private Long createUser;
    /** 修改者 */
    private Long modifyUser;
    /** 创建时间 */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @OrderBy
    private Date createTime;
    /** 修改时间 */
    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;
    /** 备注 */
    private String remark;
    /** 项目阶段 */
    private Integer projectStage;
    /** 集团id */
    private Long accountId;
    /** 主合同id */
    private Long masterContract;
    /** 维保状态 */
    private String maintainStatus;
    /** 产品线属性 */
    private Integer productLine;
    /** 是否重点项目 0:不是 1:是 */
    private Integer isImportant;
    /** 任务详情 */
    private String taskDetail;
    /** 实际完成日期 */
    private Date finishDate;
    /** 完成百分比 */
    private Double percentage;
    /** 当前卡点 */
    private String stuckPoint;
    /** 主要产品 */
    private Integer mainProduct;
    /** 点位数量 */
    private Integer pointNum;
    /** 计划完成日期 */
    private Date planFinishDate;
    /** 项目规模 */
    private Integer projectSize;
}