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

	@Schema(description = "分样id")
    private Long businessSubParentSampleId;
	
    @Schema(description = "分样子样ID", example = "7025")
    private Long businessSubSampleId;

    @Schema(description = "分样子样判定ID", example = "14560")
    private Long businessSubSampleAssessmentId;

    @Schema(description = "检测项目ID,字典表【T_DIC_PRJ】", example = "21744")
    private Long dictionaryProjectId;

    @Schema(description = "检测方法分析项目配置ID", example = "14847")
    private Long configAssayMethodProjectId;

    @Schema(description = "检测方法配置ID", example = "8091")
    private Long configAssayMethodId;

    @Schema(description = "用途,ingredient-配料、report-报出、ingredient_report-配料及报出")
    private String usage;

    @Schema(description = "符号,=、>、<、等")
    private String symbol;

    @Schema(description = "任务类型,【字典】【jy_sample_task_type】常规、抽查...", example = "2")
    private String taskType;

    @Schema(description = "分析类型,【字典】【jy_sample_assay_type】单杯-single_cup、双杯-double_cup、平行-single_parallel...", example = "1")
    private String assayType;

    @Schema(description = "数据类型,字典表【T_DIC_BSN】string-字符串，int-整数，decimal-小数,date-日期，datetime-时间", example = "1")
    private String dataType;

    @Schema(description = "小数位")
    private Integer decimalPosition;

    @Schema(description = "有效数字位")
    private Integer effectiveDigit;

    @Schema(description = "判定值")
    private String assessmentValue;

    @Schema(description = "判定状态，in_progress-进行中 normal-正常，exceeds_tolerance-超差", example = "1")
    private String assessmentStatus;

    @Schema(description = "方法检出下限值")
    private String minimumLimitValue;

    @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 = "所属部门")
    private String systemDepartmentCode;

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

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

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

}