skyouc
2 天以前 4d41ad6d6cecc008b6ecfc235686968cfc32848c
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/MatnrsTemplate.java
@@ -1,17 +1,15 @@
package com.vincent.rsf.server.manager.entity.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
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 cn.afterturn.easypoi.excel.annotation.Excel;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import lombok.experimental.Accessors;
import lombok.Data;
/**
 *
 * @author Ryan
 * @version 1.0
 * @title MatnrsTemplate
@@ -19,6 +17,8 @@
 * @create 2025/3/3 08:40
 */
@Data
@ExcelAutoColumnSize
@Accessors(chain = true)
public class MatnrsTemplate {
    @NotNull
@@ -27,9 +27,30 @@
    private String name;
    @NotNull
    @Excel(name = "分类助记码*")
    @ExcelComment(example = "256874556")
    private String groupCode;
    @Excel(name = "物料编码*")
    @ExcelComment(example = "matnr123")
    private String code;
    @Excel(name = "货主标识")
    @ExcelComment(example = "123")
    private Long shipperId;
    @NotNull
    @Excel(name = "物料分组")
    @ExcelComment(example = "手机")
    private Long groupId;
    @Excel(name = "ERP编码")
    @ExcelComment(example = "erp001")
    private String platCode;
    @NotNull
    @Excel(name = "规格")
    @ExcelComment(example = "HW-148*68*10")
    private String spec;
    @NotNull
    @Excel(name = "分类名称*")
@@ -40,11 +61,6 @@
    @Excel(name = "物料助记码*")
    @ExcelComment(example = "P3528461569")
    private String erpCode;
    @NotNull
    @Excel(name = "规格")
    @ExcelComment(example = "HW-148*68*10")
    private String spec;
    @NotNull
    @Excel(name = "型号")
@@ -59,7 +75,7 @@
    @ExcelComment(notNull = false, example = "紫红色")
    private String color;
    @Excel(name = "大小")
    @Excel(name = "尺寸")
    @ExcelComment(notNull = false, example = "148*68*10")
    private String size;
@@ -67,18 +83,27 @@
    @ExcelComment(notNull = false, example = "新上市三折叠")
    private String describle;
    @Excel(name = "描述")
    @Excel(name = "标包数量")
    @ExcelComment(notNull = false, example = "新上市三折叠")
    private String nromNum;
    @NotNull
    @Excel(name = "主单位")
    @Excel(name = "单位")
    @ExcelComment(example = "部")
    private String unit;
    @Excel(name = "采购单位")
    @ExcelComment(example = "部")
    private String purUnit;
    @Excel(name = "库位单位")
    @ExcelComment(example = "部")
    private String stockUnit;
    @NotNull
    @Excel(name = "分类助记码*")
    @ExcelComment(example = "256874556")
    private String groupCode;
    @Excel(name = "ABC类")
    @ExcelComment(notNull = false, example = "0")
@@ -116,6 +141,5 @@
    @Excel(name = "是否免检")
    @ExcelComment(notNull = false, example = "0")
    private String flagCheck;
}