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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 物料持有属性分页 Request VO")
@Data
public class MaterialHasPropertiesPageReqVO extends PageParam {

    @Schema(description = "物料信息ID", example = "2614")
    private Long infomationId;

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

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

    @Schema(description = "属性值")
    private String value;

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

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

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

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



}