skyouc
2025-03-13 e86cd6325395c784d1c116a035987a5cf19bbe69
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
package com.vincent.rsf.server.manager.entity.excel;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
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 java.io.Serializable;
 
/**
 * @author Ryan
 * @version 1.0
 * @title AsnOrderTemplate
 * @description
 * @create 2025/3/12 13:49
 */
@Data
@ExcelAutoColumnSize
@Accessors(chain = true)
//@ToString(callSuper = true)
//@EqualsAndHashCode(callSuper = false)
public class AsnOrderTemplate implements IExcelModel, IExcelDataModel, Serializable {
 
    @Excel(name = "行号")
    @ExcelComment(value = "platItemId", example = "1357564255478")
    private String platItemId;
 
    @Excel(name = "物料名称")
    @ExcelComment(value = "matnk",example = "物料名称")
    private String matnk;
 
    @Excel(name = "数量")
    @ExcelComment(value = "anfme",example = "25")
    private Double anfme;
 
    @Excel(name = "库存单位")
    @ExcelComment(value = "stockUnit",example = "个")
    private String stockUnit;
 
    @Excel(name = "采购数量")
    @ExcelComment(value = "purQty",example = "25")
    private Double purQty;
 
    @Excel(name = "采购单位")
    @ExcelComment(value = "purUnit",example = "个")
    private String purUnit;
 
    @Excel(name = "已完成数量")
    @ExcelComment(value = "qty",example = "25")
    private Double qty;
 
    @Excel(name = "供应商编码")
    @ExcelComment(value = "splrCode",example = "3654821")
    private String splrCode;
 
    @Excel(name = "供应商名称")
    @ExcelComment(value = "splrName",example = "浙江中扬技术公司")
    private String splrName;
 
    @Excel(name = "供应商批次")
    @ExcelComment(value = "splrBatch",example = "25251212")
    private String splrBatch;
 
    @Excel(name = "二维码")
    @ExcelComment(value = "qrcode",example = "")
    private String qrcode;
 
    @Excel(name = "条形码")
    @ExcelComment(value = "barcode",example = "2354788")
    private String barcode;
 
    @Excel(name = "包装名称")
    @ExcelComment(value = "packName",example = "箱")
    private String packName;
 
    @Excel(name = "备注")
    @ExcelComment(value = "memo",example = "注:易碎品,轻拿放")
    private String memo;
 
    private Integer rowNum;
 
    private String errorMsg;
 
    @Override
    public Integer getRowNum() {
        return this.rowNum;
    }
 
    @Override
    public void setRowNum(Integer rowNum) {
        this.rowNum = rowNum;
    }
 
    @Override
    public String getErrorMsg() {
        return this.errorMsg;
    }
 
    @Override
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}