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

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

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

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

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

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

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

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

}