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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 物料属性 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MaterialPropertiesRespVO {

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

    @Schema(description = "属性编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("属性编码")
    private String code;

    @Schema(description = "属性名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("属性名称")
    private String name;

    @Schema(description = "计量单位量ID", example = "30468")
    @ExcelProperty("计量单位量ID")
    private Long unitQuantityId;

    @Schema(description = "属性类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("属性类型")
    private String dictionaryDataValue;

    @Schema(description = "属性类型名称")
    @ExcelProperty("属性类型名称")
    private String dictionaryDataLabel;

    @Schema(description = "数据类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("数据类型")
    private String dataType;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "量纲名称")
    @ExcelProperty("量纲名称")
    private String unitQuantityName;

    @Schema(description = "计量单位名称")
    @ExcelProperty("计量单位")
    private String unitName;

    @Schema(description = "计量单位符号")
    @ExcelProperty("计量单位符号")
    private String unitSymbol;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "部门ID,私有属性有值,通用属性无值")
    private Long deptId;

}