zjj
2025-04-15 a44c8916586337ea4b7e1faa0c4f622ac3e2784f
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
package com.vincent.rsf.server.manager.entity.excel;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.vincent.rsf.server.manager.entity.excel.annotation.ExcelAutoColumnSize;
import com.vincent.rsf.server.manager.entity.excel.annotation.ExcelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
 
import javax.validation.constraints.NotNull;
import java.io.Serializable;
 
/**
 * @author Ryan
 * @version 1.0
 * @title MatnrsTemplate
 * @description
 * @create 2025/3/3 08:40
 */
@Data
public class MatnrsTemplate {
 
    @NotNull
    @Excel(name = "物料名称*")
    @ExcelComment(example = "华为手机")
    private String name;
 
    @NotNull
    @Excel(name = "物料编码*")
    @ExcelComment(example = "matnr123")
    private String code;
 
 
    @Excel(name = "货主标识")
    @ExcelComment(example = "123")
    private Long shipperId;
 
 
 
    @NotNull
    @Excel(name = "物料分组")
    @ExcelComment(example = "手机")
    private Long groupId;
 
 
    @Excel(name = "ERP编码")
    @ExcelComment(example = "erp001")
    private String platCode;
 
    @NotNull
    @Excel(name = "规格")
    @ExcelComment(example = "HW-148*68*10")
    private String spec;
 
    @NotNull
    @Excel(name = "分类名称*")
    @ExcelComment(example = "移动设备")
    private String groupName;
 
    @NotNull
    @Excel(name = "物料助记码*")
    @ExcelComment(example = "P3528461569")
    private String erpCode;
 
    @NotNull
    @Excel(name = "型号")
    @ExcelComment(example = "华为三折叠")
    private String model;
 
    @Excel(name = "重量")
    @ExcelComment(notNull = false, example = "258g")
    private String weight;
 
    @Excel(name = "颜色")
    @ExcelComment(notNull = false, example = "紫红色")
    private String color;
 
    @Excel(name = "尺寸")
    @ExcelComment(notNull = false, example = "148*68*10")
    private String size;
 
    @Excel(name = "描述")
    @ExcelComment(notNull = false, example = "新上市三折叠")
    private String describle;
 
    @Excel(name = "标包数量")
    @ExcelComment(notNull = false, example = "新上市三折叠")
    private String nromNum;
 
    @NotNull
    @Excel(name = "单位")
    @ExcelComment(example = "部")
    private String unit;
 
    @Excel(name = "采购单位")
    @ExcelComment(example = "部")
    private String purUnit;
 
    @Excel(name = "库位单位")
    @ExcelComment(example = "部")
    private String stockUnit;
 
    @NotNull
    @Excel(name = "分类助记码*")
    @ExcelComment(example = "256874556")
    private String groupCode;
 
    @Excel(name = "ABC类")
    @ExcelComment(notNull = false, example = "0")
    private String stockLevel;
 
    @Excel(name = "安全库存量")
    @ExcelComment(example = "50")
    private String safeQty;
 
    @Excel(name = "最小库存量")
    @ExcelComment(notNull = false, example = "10")
    private String minQty;
 
    @NotNull
    @Excel(name = "最大库存量")
    @ExcelComment(notNull = false, example = "150")
    private String maxQty;
 
    @Excel(name = "停滞天数")
    @ExcelComment(notNull = false, example = "25")
    private String stagn;
 
    @Excel(name = "有效期")
    @ExcelComment(notNull = false, example = "25")
    private String valid;
 
    @Excel(name = "条形码")
    @ExcelComment(notNull = false, example = "8001354")
    private String barcode;
 
    @Excel(name = "效期预警阈值")
    @ExcelComment(notNull = false, example = "90")
    private String validWarn;
 
    @Excel(name = "是否免检")
    @ExcelComment(notNull = false, example = "0")
    private String flagCheck;
 
 
}