MrShi
2 天以前 eb82684152ffb0acddf67da92e4533a0190eb258
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
96
97
package com.doumee.dao.business.model;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.service.business.third.model.LoginUserModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 交控-线路优化记录信息表
 * @author 江蹄蹄
 * @date 2025/09/28 09:01
 */
@Data
@ApiModel("交控-线路优化记录信息表")
@TableName("`jk_sketch`")
public class JkSketch  extends LoginUserModel {
 
    @ApiModelProperty(value = "主键", example = "1")
    //@ExcelColumn(name="主键")
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    //@ExcelColumn(name="创建人编码")
    private Integer creator;
 
    @ApiModelProperty(value = "创建时间")
    //@ExcelColumn(name="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    //@ExcelColumn(name="更新人编码")
    private Integer editor;
 
    @ApiModelProperty(value = "更新时间")
    //@ExcelColumn(name="更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date editDate;
 
    @ApiModelProperty(value = "是否删除0否 1是", example = "1")
    //@ExcelColumn(name="是否删除0否 1是")
    private Integer isdeleted;
 
    @ApiModelProperty(value = "备注")
    //@ExcelColumn(name="备注")
    private String info;
 
    @ApiModelProperty(value = "主线路编码(关联category)", example = "1")
    //@ExcelColumn(name="主线路编码(关联category)")
    private Integer categoryId;
    @ApiModelProperty(value = "当前线路数", example = "1")
    //@ExcelColumn(name="主线路编码(关联category)")
    private Integer lineNum;
    @ApiModelProperty(value = "最新优化线路数", example = "1")
    //@ExcelColumn(name="主线路编码(关联category)")
    private Integer planLineNum;
 
    @ApiModelProperty(value = "送货量", example = "1")
    @ExcelColumn(name="送货量(条)",index = 4,width = 10)
    private BigDecimal totalNum;
 
    @ApiModelProperty(value = "客户数", example = "1")
    @ExcelColumn(name="客户数(户)",index = 3,width = 7)
    private Integer orderNum;
 
    @ApiModelProperty(value = "状态 0未优化 1优化中 2已优化", example = "1")
    @ExcelColumn(name="状态",index = 5,width = 10,valueMapping = "0=未优化;1=优化中;2=已优化;")
    private Integer status;
 
    @ApiModelProperty(value = "排序码", example = "1")
    //@ExcelColumn(name="排序码")
    private Integer sortnum;
    @ApiModelProperty(value = "优化记录编码(作为key值存redis)", example = "1")
    //@ExcelColumn(name="班组编码(关联category)")
    private String jobId;
    @ApiModelProperty(value = "日期")
    @ExcelColumn(name="送货日期",index = 1,width = 10)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dateInfo;
 
 
    @ApiModelProperty(value = "所属主线路", example = "1")
    @ExcelColumn(name="主线路",index = 2,width = 10)
    @TableField(exist = false)
    private String categoryName;
 
}