package com.zt.plat.module.qms.business.bus.controller.vo;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import com.zt.plat.framework.common.pojo.PageParam;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 样品检测项目结果分页条件VO
 */
@Data
public class SampleProjectResultPageReqVO extends PageParam  {

	private static final long serialVersionUID = 7153959501553288866L;
	
    @Schema(description = "检验委托登记ID", example = "17352")
    private Long businessSampleEntrustRegistrationId;

    @Schema(description = "主样业务ID", example = "9560")
    private Long businessBaseSampleId;

    @Schema(description = "分析部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2493")
    private Long assayDepartmentId;

    @Schema(description = "样品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    private String sampleName;

    @Schema(description = "样品编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String sampleCode;

    @Schema(description = "检测项目缩写", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    private String projectSimpleName;

    @Schema(description = "收样人")
    private String sampleReceiver;

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

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

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