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
| package com.chinaztt.mes.technology.excel;
|
| import com.alibaba.excel.annotation.ExcelProperty;
| import com.alibaba.excel.annotation.write.style.ColumnWidth;
| import lombok.Data;
|
| import java.math.BigDecimal;
|
| /**
| * @Author: zhangxy
| * @Date: 2021-05-14 9:56
| */
| @Data
| public class MaterialCostData {
|
| @ColumnWidth(16)
| @ExcelProperty("物料代码")
| private String partNo;
|
| @ColumnWidth(16)
| @ExcelProperty("物料描述")
| private String partName;
|
| @ColumnWidth(16)
| @ExcelProperty("物料型号")
| private String description;
|
| @ColumnWidth(25)
| @ExcelProperty("物料规格")
| private String specs;
|
| @ColumnWidth(10)
| @ExcelProperty("单位数量")
| private BigDecimal quantity;
|
|
| }
|
|