package com.hotent.baseInfo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * 目录类别新增DTO
 *
 * @author 超级管理员
 * @since 2025-01-23
 */
@ApiModel(value = "CategoryCreateDto", description = "修改目录类型")
@Getter
@Setter
public class CategoryCreateDto {

    @ApiModelProperty(value = "目录ID")
    private String  catalogId;

    @ApiModelProperty(value = "上级类别ID", required = true)
    @NotEmpty(message = "上级类别ID不能为空")
    private String parentId;

    @ApiModelProperty(value = "目录编码", required = true)
    private String code;

    @ApiModelProperty(value = "类别名称", required = true)
    @NotEmpty(message = "类别名称不能为空")
    private String catalogName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "节点类型")
    private String nodeType;

}

