自动化立体仓库 - WMS系统
pang.jiabao
2024-04-18 cddfcdf68ff7fff6b1be82bc5edf822458de6749
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
package com.zy.asrs.entity;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
 
@Data
@TableName("man_mat_v2")
public class MatV2 implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * ID
     */
    @ApiModelProperty(value= "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @ApiModelProperty(value= "")
    private String uuid;
 
    @ApiModelProperty(value= "")
    @TableField("tag_id")
    private String tagId;
 
    @ApiModelProperty(value= "")
    @ExcelProperty(value = "商品编码")
    private String matnr;
 
    @ApiModelProperty(value= "")
    @ExcelProperty(value = "商品名称")
    private String maktx;
 
    @ApiModelProperty(value= "")
    private String name;
 
    @ApiModelProperty(value= "")
    @ExcelProperty(value = "规格")
    private String specs;
 
    @ApiModelProperty(value= "")
    @ExcelProperty(value = "型号")
    private String model;
 
    @ApiModelProperty(value= "")
    private String color;
 
    @ApiModelProperty(value= "")
    private String brand;
 
    @ApiModelProperty(value= "")
    @ExcelProperty(value = "单位")
    private String unit;
 
    @ApiModelProperty(value= "")
    private Double price;
 
    @ApiModelProperty(value= "")
    private String sku;
 
    @ApiModelProperty(value= "")
    private Double units;
 
    @ApiModelProperty(value= "")
    private String barcode;
 
    @ApiModelProperty(value= "")
    private String origin;
 
    @ApiModelProperty(value= "")
    private String manu;
 
    @ApiModelProperty(value= "")
    @TableField("manu_date")
    private String manuDate;
 
    @ApiModelProperty(value= "")
    @TableField("item_num")
    private String itemNum;
 
    @ApiModelProperty(value= "")
    @TableField("safe_qty")
    private Double safeQty;
 
    @ApiModelProperty(value= "")
    @ExcelProperty(value = "重量")
    private Double weight;
 
    @ApiModelProperty(value= "")
    private Double length;
 
    @ApiModelProperty(value= "")
    private Double volume;
 
    @ApiModelProperty(value= "")
    @TableField("three_code")
    private String threeCode;
 
    @ApiModelProperty(value= "")
    private String supp;
 
    @ApiModelProperty(value= "")
    @TableField("supp_code")
    private String suppCode;
 
    @ApiModelProperty(value= "")
    @TableField("be_batch")
    @ExcelProperty(value = "组成用量")
    private Float beBatch;
 
    @ApiModelProperty(value= "")
    @TableField("dead_time")
    private String deadTime;
 
    @ApiModelProperty(value= "")
    @TableField("dead_warn")
    private Integer deadWarn;
 
    @ApiModelProperty(value= "")
    private Integer source;
 
    @ApiModelProperty(value= "")
    private Integer inspect;
 
    @ApiModelProperty(value= "")
    private Integer danger;
 
    @ApiModelProperty(value= "")
    private Integer status;
 
    @ApiModelProperty(value= "")
    @TableField("create_by")
    private Long createBy;
 
    @ApiModelProperty(value= "")
    @TableField("create_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    @ApiModelProperty(value= "")
    @TableField("update_by")
    private Long updateBy;
 
    @ApiModelProperty(value= "")
    @TableField("update_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
 
    @ApiModelProperty(value= "")
    @ExcelProperty(value = "备注")
    private String memo;
 
    public MatV2() {}
 
    public MatV2(String uuid,String tagId,String matnr,String maktx,String name,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double length,Double volume,String threeCode,String supp,String suppCode,Float beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.uuid = uuid;
        this.tagId = tagId;
        this.matnr = matnr;
        this.maktx = maktx;
        this.name = name;
        this.specs = specs;
        this.model = model;
        this.color = color;
        this.brand = brand;
        this.unit = unit;
        this.price = price;
        this.sku = sku;
        this.units = units;
        this.barcode = barcode;
        this.origin = origin;
        this.manu = manu;
        this.manuDate = manuDate;
        this.itemNum = itemNum;
        this.safeQty = safeQty;
        this.weight = weight;
        this.length = length;
        this.volume = volume;
        this.threeCode = threeCode;
        this.supp = supp;
        this.suppCode = suppCode;
        this.beBatch = beBatch;
        this.deadTime = deadTime;
        this.deadWarn = deadWarn;
        this.source = source;
        this.inspect = inspect;
        this.danger = danger;
        this.status = status;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.memo = memo;
    }
 
//    MatV2 matV2 = new MatV2(
//            null,    // 
//            null,    // 
//            null,    // [非空]
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // [非空]
//            null,    // 
//            null,    // 
//            null,    // 
//            null,    // 
//            null    // 
//    );
 
    public String getCreateTime$(){
        if (Cools.isEmpty(this.createTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
    }
 
    public String getUpdateTime$(){
        if (Cools.isEmpty(this.updateTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
    }
 
 
}