package com.zt.plat.module.base.controller.admin.materialhasproperties.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 MaterialHasPropertiesRespVO {

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

    @Schema(description = "物料信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2614")
    @ExcelProperty("物料信息ID")
    private Long infomationId;

    @Schema(description = "属性ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8607")
    @ExcelProperty("属性ID")
    private Long propertiesId;

    @Schema(description = "计量单位ID-默认计量单位", example = "23731")
    @ExcelProperty("计量单位ID-默认计量单位")
    private Long unitId;

    @Schema(description = "属性值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("属性值")
    private String value;

    @Schema(description = "是否关键属性-关键属性表示物料唯一性")
    @ExcelProperty("是否关键属性-关键属性表示物料唯一性")
    private Integer isKey;

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

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

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

}