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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 物料属性（持有属性）行展示 VO
 */
@Data
public class MaterialInfomationPropertyRespVO {

    @Schema(description = "属性ID")
    private Long propertiesId;

    @Schema(description = "属性编码")
    private String propertiesCode;

    @Schema(description = "属性名称")
    private String propertiesName;

    @Schema(description = "属性数据类型")
    private String dataType;

    @Schema(description = "属性值（编码/原值）")
    private String dictionaryDataValue;

    @Schema(description = "属性值展示（字典标签，若无字典则原值）")
    private String valueLabel;

    @Schema(description = "字典类型ID")
    private Long dictionaryTypeId;

    @Schema(description = "计量单位ID")
    private Long unitId;

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

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

    @Schema(description = "是否关键属性")
    private Integer isKey;

    @Schema(description = "是否计量定价")
    private Integer isMetering;

    @Schema(description = "排序号")
    private Long sort;
}
