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

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

    @Schema(description = "分样配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14933")
    @ExcelProperty("分样配置ID")
    private Long configSubSampleParentId;

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

    @Schema(description = "是否默认使用,1-启用，0-不启用")
    private Integer isDefaultUse;

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

    @Schema(description = "计算方法,average-平均值，other-其他（扩展）")
    @ExcelProperty("计算方法,average-平均值，other-其他（扩展）")
    private String calculateMethod;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

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

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

}