mitao
2024-03-15 92b586e7d47167421f6500be641734acebeacd79
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}