package com.zt.plat.module.base.controller.admin.materialproperties.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 MaterialPropertiesPageReqVO extends PageParam {

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

    @Schema(description = "属性名称", example = "芋艿")
    private String name;

    @Schema(description = "关键字(编码/名称模糊匹配)")
    private String keyword;

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

    @Schema(description = "属性类型")
    private String dictionaryDataValue;

    @Schema(description = "数据类型", example = "1")
    private String dataType;

    @Schema(description = "备注")
    private String remark;

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

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

}