| | |
| | | package com.ruoyi.system.dto; |
| | | |
| | | import com.ruoyi.common.enums.ShowStatusEnum; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * @author mitao |
| | |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "显示隐藏操作数据传输对象") |
| | | public class ShowHideDTO { |
| | | public class ShowHideDTO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -309339051829606307L; |
| | | |
| | | @ApiModelProperty(value = "分类id") |
| | | @NotNull(message = "id不能为空") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "状态(0=展示 1=隐藏)") |
| | | @ApiModelProperty(value = "状态 (直接传 展示中 或 已隐藏)") |
| | | @NotNull(message = "status不能为空") |
| | | private Integer status; |
| | | private ShowStatusEnum status; |
| | | } |