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 = "22309")
    private Long id;

    @Schema(description = "ID路径")
    private String idPath;

    @Schema(description = "上级ID", example = "9719")
    private Long parentId;

    @Schema(description = "名称,一级：管理样、标准样、标样；二级：具体定值样", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "名称,一级：管理样、标准样、标样；二级：具体定值样不能为空")
    private String name;

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

    @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 = "所属部门")
    private String systemDepartmentCode;

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

}