package com.zt.plat.module.qms.business.bus.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 BusinessStandardSampleSaveReqVO {

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

    @Schema(description = "标准样类型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12799")
    @NotNull(message = "标准样类型ID不能为空")
    private Long configStandardSampleTypeId;

    @Schema(description = "标准样类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "标准样类型名称不能为空")
    private String configStandardSampleTypeName;

    @Schema(description = "标准样编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标准样编号不能为空")
    private String standardSampleCode;

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

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

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

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

}