DESKTOP-LMJ82IJ\Eno
2025-04-13 cc2984eeb289b54cfa193dde558417c46f309e8f
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/MatnrsTemplate.java
@@ -8,6 +8,7 @@
import lombok.ToString;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
@@ -18,32 +19,34 @@
 * @create 2025/3/3 08:40
 */
@Data
@ExcelAutoColumnSize
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class MatnrsTemplate implements Serializable {
public class MatnrsTemplate {
    @Excel(name = "物料名称")
    @NotNull
    @Excel(name = "物料名称*")
    @ExcelComment(example = "华为手机")
    private String name;
    @Excel(name = "分类助记码")
    @NotNull
    @Excel(name = "分类助记码*")
    @ExcelComment(example = "256874556")
    private String groupCode;
    @Excel(name = "分类名称")
    @NotNull
    @Excel(name = "分类名称*")
    @ExcelComment(example = "移动设备")
    private String groupName;
    @Excel(name = "物料助记码")
    @NotNull
    @Excel(name = "物料助记码*")
    @ExcelComment(example = "P3528461569")
    private String erpCode;
    @NotNull
    @Excel(name = "规格")
    @ExcelComment(example = "HW-148*68*10")
    private String spec;
    @NotNull
    @Excel(name = "型号")
    @ExcelComment(example = "华为三折叠")
    private String model;
@@ -68,6 +71,7 @@
    @ExcelComment(notNull = false, example = "新上市三折叠")
    private String nromNum;
    @NotNull
    @Excel(name = "主单位")
    @ExcelComment(example = "部")
    private String unit;
@@ -88,6 +92,7 @@
    @ExcelComment(notNull = false, example = "10")
    private String minQty;
    @NotNull
    @Excel(name = "最大库存量")
    @ExcelComment(notNull = false, example = "150")
    private String maxQty;