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 BusinessSubParentSampleAssessmentRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5014")
    @ExcelProperty("ID")
    private Long id;

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

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

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

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

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

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

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

    @Schema(description = "上报对应列", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("上报对应列")
    private String columnName;

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

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

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

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

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

}