package com.zt.plat.module.qms.business.bus.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 BusinessAssayReportDataPageReqVO extends PageParam {

    @Schema(description = "报表类型ID", example = "15805")
    private Long configReportTypeId;

    @Schema(description = "报表配置ID", example = "24960")
    private Long configSampleReportId;

    @Schema(description = "样品主样ID", example = "30453")
    private Long businessBaseSampleId;

    @Schema(description = "样品编号")
    private String sampleCode;
    
    @Schema(description = "数据来源")
    private String dataSource;

    @Schema(description = "分析数据")
    private String assayData;
    
    @Schema(description = "是否已全部上报")
    private Integer isAllReported;
    
    @Schema(description = "已上报数据来源")
    private String reportedSource;

    @Schema(description = "流程code")
    private String reportFlowCode;

    @Schema(description = "报告数据明细id", example = "6437")
    private Long documentDataId;

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

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

    @Schema(description = "乐观锁", example = "378")
    private Integer updateCount;

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

    //==================扩展字段===========

    @Schema(description = "id列表")
    private List<Long> idList;

    @Schema(description = "样品名称")
    private String sampleName;

    @Schema(description = "主样创建时间范围")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] baseSampleCreateTime;

    @Schema(description = "委托id列表")
    private List<Long> businessSampleEntrustRegistrationIdList;

    @Schema(description = "报告类型ID", example = "2124")
    private Long reportDocumentTypeId;
}