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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 分样与检测方法配置新增/修改 Request VO")
@Data
public class ConfigSubSampleParentMethodSaveReqVO {

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

    @Schema(description = "分样配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14933")
    @NotNull(message = "分样配置ID不能为空")
    private Long configSubSampleParentId;

    @Schema(description = "检测方法配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24094")
    @NotNull(message = "检测方法配置ID不能为空")
    private Long configAssayMethodId;

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

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

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

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

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

}