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

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

    @Schema(description = "报表类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "30219")
    @NotNull(message = "报表类型不能为空")
    private Long configReportTypeId;

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

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

    @Schema(description = "数据来源")
    private String dataSource;

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

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

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

}