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 MaterialAssayStandardPageReqVO extends PageParam {

    @Schema(description = "样品大类ID", example = "1394")
    private Long baseSampleId;

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

    @Schema(description = "样品类型ID,字典表：【T_DIC_BSN】", example = "19879")
    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 sampleName;

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

    @Schema(description = "物料名称")
    private String materialName;

    @Schema(description = "样品类型_NAME")
    private String dictionaryBusinessName;

    @Schema(description = "检测项目数量")
    private Long detailCount;

}