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

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

    @Schema(description = "物料检测标准明细项ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19112")
    @NotNull(message = "物料检测标准明细项ID不能为空")
    private Long materialAssayStandardDetailId;

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

    @Schema(description = "分析部门ID", example = "3726")
    private Long assayDepartmentId;

    @Schema(description = "分析部门名称", example = "张三")
    private String assayDepartmentName;

    @Schema(description = "是否双杯分析,1-是，0-否")
    private Integer isDualCup;

    @Schema(description = "是否默认,1-是，0-否", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否默认,1-是，0-否不能为空")
    private Integer isDefault;

    @Schema(description = "是否复检默认,1-是，0-否")
    private Integer isRecheckDefault;

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

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

}