package com.zt.plat.module.base.controller.admin.base.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 物料拓展数据 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MaterialOtherRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27804")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "物料编码")
    @ExcelProperty("物料编码")
    private String materialNumber;

    @Schema(description = "物料名称", example = "王五")
    @ExcelProperty("物料名称")
    private String materialName;

    @Schema(description = "ERP物料编码")
    @ExcelProperty("ERP物料编码")
    private String erpMaterialNumber;

    @Schema(description = "ERP物料名称", example = "李四")
    @ExcelProperty("ERP物料名称")
    private String erpMaterialName;

    @Schema(description = "ERP物料计量单位")
    @ExcelProperty("ERP物料计量单位")
    private String unit;

    @Schema(description = "金属元素缩写")
    @ExcelProperty("金属元素缩写")
    private String abbreviation;

    @Schema(description = "金属元素名称", example = "赵六")
    @ExcelProperty("金属元素名称")
    private String name;

    @Schema(description = "金属元素编码")
    @ExcelProperty("金属元素编码")
    private String coding;

    @Schema(description = "品位单位")
    @ExcelProperty("品位单位")
    private String gradeUnit;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "小数位数")
    @ExcelProperty("小数位数")
    private Long decimalValue;

    @Schema(description = "是否启用")
    @ExcelProperty("是否启用")
    private String isEnable;

}