package com.zt.plat.module.qms.common.dic.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 DictionaryBusinessSaveReqVO {

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

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

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

    @Schema(description = "节点类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "节点类型不能为空")
    private String nodeType;

    @Schema(description = "名称", example = "王五")
    private String name;

    @Schema(description = "键")
    private String key;

    @Schema(description = "值")
    private String value;

    @Schema(description = "其他配置")
    private String customConfig;

    @Schema(description = "排序号")
    private Integer sortNo;

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

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

}