package com.hotent.baseInfo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 目录状态切换DTO
 *
 * @author 超级管理员
 * @since 2025-01-23
 */
@ApiModel(value = "CatalogStatusDto", description = "目录状态切换DTO")
@Data
public class CatalogStatusDto {

    @ApiModelProperty(value = "目录节点ID", required = true)
    @NotEmpty(message = "目录节点ID不能为空")
    private String id;

    @ApiModelProperty(value = "状态（0-停用，1-启用）", required = true)
    @NotNull(message = "状态不能为空")
    private String status;
}
