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

    @Schema(description = "设备编号")
    private String deviceNo;

    @Schema(description = "荧光线名称", example = "王五")
    private String lineName;

    @Schema(description = "荧光样品id", example = "13273")
    private String xRFSampleId;

    @Schema(description = "样品编号")
    private String sampleCode;

    @Schema(description = "样品名称", example = "李四")
    private String sampleName;

    @Schema(description = "样品时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] sampleTime;

    @Schema(description = "样品开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] sampleStartTime;

    @Schema(description = "样品结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] sampleEndTime;

    @Schema(description = "分析人")
    private String assayOperator;

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

    @Schema(description = "样品分样ID", example = "4878")
    private Long businessSubParentSampleId;

    @Schema(description = "分样子样ID", example = "13189")
    private Long businessSubSampleId;
    
    @Schema(description = "检测任务ID", example = "16505")
    private Long businessAssayTaskDataId;
    
    @Schema(description = "检测任务ID", example = "940")
    private Long businessQCManagementDataId;

    @Schema(description = "检测数据")
    private String assayData;

    @Schema(description = "是否为检查创建数据")
    private Integer isCheckCreate;

    @Schema(description = "是否已匹配")
    private Integer isMatched;

    @Schema(description = "是否已上报")
    private Integer isReported;

    @Schema(description = "上报人")
    private String reporter;

    @Schema(description = "上报时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] reportTime;

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

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

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

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

}