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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 子样判定检测项目数据业务 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessSubSampleAssessmentProjectRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23478")
    @ExcelProperty("ID")
    private Long id;
    
	@Schema(description = "分样id")
    private Long businessSubParentSampleId;

    @Schema(description = "分样子样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7025")
    @ExcelProperty("分样子样ID")
    private Long businessSubSampleId;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    @Schema(description = "是否已上报", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否已上报")
    private Integer isReported;

    @Schema(description = "上报人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("上报人")
    private String reporter;

    @Schema(description = "上报时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("上报时间")
    private LocalDateTime reportTime;

    @Schema(description = "所属部门", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "乐观锁", requiredMode = Schema.RequiredMode.REQUIRED, example = "12836")
    @ExcelProperty("乐观锁")
    private Integer updateCount;

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

}