#
luxiaotao1123
2020-11-03 9b827fb95882f77d129a554f06182977f8a68f80
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
package com.zy.common.utils.excel.matcode;
 
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
 
 
/**
 * 0.A 1.B 2.C 3.D 4.E 5.F 6.G 7.H 8.I
 * 9.J 10.K 11.L 12.M 13.N 14.O 15.P 16.Q 17.R 18.S
 * 19.T 20.U 21.V 22.W 23.X 24.Y 25.Z
 */
@Data
@ExcelIgnoreUnannotated
public class MatCodeExcel {
 
    @ExcelProperty(value= "产品代号*", index = 0)
    private String matNo;
 
    //    @ExcelProperty(value= "条形码", index = 4)
    private String barcode;
 
    @ExcelProperty(value= "产品名称", index = 3)
    private String matName;
 
    @ExcelProperty(value= "基本单位", index = 12)
    private String str1;
 
    @ExcelProperty(value= "规格型号", index = 5)
    private String str2;
 
    @ExcelProperty(value= "颜色名称", index = 28)
    private String str3;
 
    @ExcelProperty(value= "库位名称", index = 14)
    private String str4;
 
    //    @ExcelProperty(value= "助记码", index = 7)
    private String str5;
 
    //    @ExcelProperty(value= "默认供应商", index = 10)
    private String str6;
 
    //    @ExcelProperty(value= "默认仓库", index = 13)
    private String str7;
 
    //    @ExcelProperty(value= "品牌", index = 9)
    private String str8;
 
    //    @ExcelProperty(value= "采购员", index = 11)
    private String str9;
 
    //    @ExcelProperty(value= "产地", index = 12)
    private String str10;
 
    //    @ExcelProperty(value= "序列号管理")
    private String str11;
 
    //    @ExcelProperty(value= "批次管理")
    private String str12;
 
    //    @ExcelProperty(value= "保质期单位")
    private String str13;
 
    //    @ExcelProperty(value= "保质期管理")
    private String str14;
 
    //    @ExcelProperty(value= "保质期")
    private String str15;
 
    //    @ExcelProperty(value= "可销售", index = 20)
    private String str16;
 
    //    @ExcelProperty(value= "可采购", index = 21)
    private String str17;
 
    //    @ExcelProperty(value= "可为子件", index = 22)
    private String str18;
 
    //    @ExcelProperty(value= "可为组件", index = 23)
    private String str19;
 
    //    @ExcelProperty(value= "辅助属性管理")
    private String str20;
 
    //    @ExcelProperty(value= "成本计算方法", index = 29)
    private String str21;
 
    //    @ExcelProperty(value= "采购单位", index = 30)
    private String str22;
 
    //    @ExcelProperty(value= "销售单位", index = 31)
    private String str23;
 
    //    @ExcelProperty(value= "重量", index = 7)
    private Double num1;
 
    //    @ExcelProperty(value= "最低库存数量")
    private Double num2;
 
    //    @ExcelProperty(value= "最高库存数量")
    private Double num3;
 
    //    @ExcelProperty(value= "安全库存")
    private Double num4;
 
    //    @ExcelProperty(value= "税率")
    private Double num5;
 
    private Double num6;
 
    public MatCodeExcel() {
    }
 
    public MatCodeExcel(String matNo, String barcode, String matName, String str1, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11, String str12, String str13, String str14, String str15, String str16, String str17, String str18, String str19, String str20, String str21, String str22, String str23, Double num1, Double num2, Double num3, Double num4, Double num5, Double num6) {
        this.matNo = matNo;
        this.barcode = barcode;
        this.matName = matName;
        this.str1 = str1;
        this.str2 = str2;
        this.str3 = str3;
        this.str4 = str4;
        this.str5 = str5;
        this.str6 = str6;
        this.str7 = str7;
        this.str8 = str8;
        this.str9 = str9;
        this.str10 = str10;
        this.str11 = str11;
        this.str12 = str12;
        this.str13 = str13;
        this.str14 = str14;
        this.str15 = str15;
        this.str16 = str16;
        this.str17 = str17;
        this.str18 = str18;
        this.str19 = str19;
        this.str20 = str20;
        this.str21 = str21;
        this.str22 = str22;
        this.str23 = str23;
        this.num1 = num1;
        this.num2 = num2;
        this.num3 = num3;
        this.num4 = num4;
        this.num5 = num5;
        this.num6 = num6;
    }
 
}