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

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

    @Schema(description = "样品大类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9295")
    @NotNull(message = "样品大类ID不能为空")
    private Long baseSampleId;

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

    @Schema(description = "样品类型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15013")
    @NotNull(message = "样品类型ID不能为空")
    private Long dictionaryBusinessId;

    @Schema(description = "样品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "样品名称不能为空")
    private String sampleName;

    @Schema(description = "是否默认启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否默认启用不能为空")
    private Integer isDefaultEnabled;

    @Schema(description = "审核方式,多个流程用|分隔")
    private Integer auditWay;

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

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

    @Schema(description = "版本", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "版本不能为空")
    private Integer version;

}