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

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

    @Schema(description = "交接单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "交接单名称不能为空")
    private String name;

    @Schema(description = "流程节点KY", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "流程节点KY不能为空")
    private String dictionarySampleFlowNodeKey;

    @Schema(description = "交接模版key")
    private String configReportTemplateKey;

    @Schema(description = "交接单编号规则", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "交接单编号规则不能为空")
    private String codeRule;

    @Schema(description = "是否预览打印")
    private Integer isPrint;

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

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

}