package com.zt.plat.module.base.controller.admin.templtp.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 TmplTpSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20895")
    private Long id;

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

    @Schema(description = "类型编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "类型编码不能为空")
    private String num;

    @Schema(description = "父类型主键;顶级为NULL", example = "20414")
    private Long prnId;

    @Schema(description = "同级排序序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "同级排序序号不能为空")
    private Long srt;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private String sts;

    private List<String> tmplItmIds ;

    private List<String>  tmplTpFldIds;

}
