shiyunteng
1 天以前 8de09297dcc5393cc8542f29318b17f5696d4f8d
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
package com.by4cloud.platformx.business.vo;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.by4cloud.platformx.common.excel.annotation.ExcelLine;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
 
@Data
public class ProductExcelVO {
 
    /**
     * 导入时候回显行号
     */
    @ExcelLine
    @ExcelIgnore
    private Long lineNum;
 
    @ExcelProperty("erp分类编码")
    private String erpTypeCode;
 
    @ExcelProperty("erp分类名称")
    private String erpTypeName;
 
    @NotBlank(message = "erp编码不能为空")
    @ExcelProperty("erp编码")
    private String erpCode;
 
    @NotBlank(message = "erp名称不能为空")
    @ExcelProperty("erp名称")
    private String erpName;
 
    @ExcelProperty("规格")
    private String specification;
 
    @NotBlank(message = "税收编码不能为空")
    @ExcelProperty("税收编码")
    private String taxCode;
}