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

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

    @Schema(description = "样品大类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "样品大类名称不能为空")
    private String name;

    @Schema(description = "物料ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16711")
    @NotNull(message = "物料ID不能为空")
    private Long materialId;

    @Schema(description = "物料代码")
    private String materialCode;

    @Schema(description = "物料名称", example = "芋艿")
    private String materialName;

    @Schema(description = "样品类型_ID,字典表【T_DIC_BSN】结算样、委检样、抽查样", requiredMode = Schema.RequiredMode.REQUIRED, example = "29325")
    @NotNull(message = "样品类型_ID,字典表【T_DIC_BSN】结算样、委检样、抽查样不能为空")
    private Long dictionaryBusinessId;

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

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

    //===================扩展字段===================
    @Schema(description = "检测标准数量")
    private String assayStandardCount;
}