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;
|
}
|