package com.ruoyi.system.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* @author mitao
|
* @date 2024/3/14
|
*/
|
@Data
|
@ApiModel(value = "显示隐藏操作数据传输对象")
|
public class ShowHideDTO {
|
|
@ApiModelProperty(value = "分类id")
|
@NotNull(message = "id不能为空")
|
private Integer id;
|
|
@ApiModelProperty(value = "状态(0=展示 1=隐藏)")
|
@NotNull(message = "status不能为空")
|
private Integer status;
|
}
|