package com.zt.plat.module.qms.business.config.controller.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 BaseSamplePageReqVO extends PageParam {

    @Schema(description = "样品大类名称", example = "王五")
    private String name;

    @Schema(description = "物料ID", example = "16711")
    private Long materialId;

    @Schema(description = "物料代码")
    private String materialCode;

    @Schema(description = "物料名称", example = "芋艿")
    private String materialName;

    @Schema(description = "样品类型_ID,字典表【T_DIC_BSN】结算样、委检样、抽查样", example = "29325")
    private Long dictionaryBusinessId;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

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

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

    //===================扩展字段===================
    @Schema(description = "检测标准数量")
    private String assayStandardCount;

    @Schema(description = "检验委托来源配置ID", example = "321")
    private Long configEntrustSourceId;

    @Schema(description = "检验委托来源配置Key", example = "321")
    private String configEntrustSourceKey;

    @Schema(description = "委托类型,委托登记-entrust_registration、检验委托-entrust_inspection", example = "1")
    private String entrustType;
}