jiangping
2025-06-06 77946261ec663aa1fe7f6f97e550532ed879f982
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
package com.doumee.dao.system.dto;
 
import com.doumee.core.annotation.excel.ExcelColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
 
/**
 * @author Eva.Caesar Liu
 * @date 2023/05/04 18:21
 */
@Data
@ApiModel("导入物料信息")
public class ImportMaterialDTO {
 
    @ApiModelProperty(value = "物料编号")
    @ExcelColumn(name="物料编号",index = 0,width = 10)
    private String code;
 
    @ApiModelProperty(value = "物料名称")
    @ExcelColumn(name="物料名称",index = 1,width = 10)
    private String name;
 
    @ApiModelProperty(value = "物料分类")
    @ExcelColumn(name="物料分类",index = 2,width = 10)
    private String categoryName;
 
    @ApiModelProperty(value = "物料子分类")
    @ExcelColumn(name="物料子分类",index = 3,width = 10)
    private String categoryChildName;
 
    @ApiModelProperty(value = "条码")
    @ExcelColumn(name="条码",index = 4,width = 10)
    private String qrcode;
 
    @ApiModelProperty(value = "品牌")
    @ExcelColumn(name="品牌",index = 5,width = 10)
    private String brand;
 
    @ApiModelProperty(value = "规格型号")
    @ExcelColumn(name="规格型号",index = 6,width = 10)
    private String attr;
 
    @ApiModelProperty(value = "单位")
    @ExcelColumn(name="单位",index = 7,width = 10)
    private String unitName;
 
    @ApiModelProperty(value = "安全库存(下限)", example = "1")
    @ExcelColumn(name="安全库存(下限)",index = 8,width = 16)
    private BigDecimal minStock;
 
    @ApiModelProperty(value = "安全库存(上限)", example = "1")
    @ExcelColumn(name="安全库存(上限)",index = 9,width = 16)
    private BigDecimal maxStock;
 
 
 
}