package com.zt.plat.module.qms.business.config.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 ConfigSubSampleMethodRespVO {

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

    @Schema(description = "子样配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27079")
    @ExcelProperty("子样配置ID")
    private Long configSubSampleId;

    @Schema(description = "分样与检测方法配置ID", example = "30543")
    private Long configSubSampleParentMethodId;

    @Schema(description = "任务数", example = "27414")
    @ExcelProperty("任务数")
    private Integer taskCount;

    @Schema(description = "结果处理方式,automatic-自动报出(不超差)，manual-手动报出，modify-允许修改")
    private String resultTreatmentWay;

    @Schema(description = "判定方法,default-默认，other-其他（扩展）")
    private String assessmentMethod;

    @Schema(description = "计算方法,calculateAverageValue-平均值，来自T_CFG_RUL的编码")
    private String calculateMethod;

    @Schema(description = "映射检测信息配置")
    private String configInfomation;

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

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

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

}