| | |
| | | package com.ycl.dto.message; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.ycl.api.BasePageVO; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotEmpty; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | @Data |
| | | @ApiModel("消息栏目参数体") |
| | | public class MessageColumnParam { |
| | | public class MessageColumnParam extends BasePageVO { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 栏目名称 |
| | | */ |
| | | @ApiModelProperty(value = "栏目名称") |
| | | @NotNull(message = "栏目名称为空") |
| | | @NotEmpty(message = "栏目名称为空") |
| | | private String columnName; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @TableField("desc") |
| | | @ApiModelProperty(value = "描述") |
| | | private String desc; |
| | | private String description; |
| | | |
| | | /** |
| | | * 是否显示 |
| | | */ |
| | | @TableField("is_show") |
| | | @ApiModelProperty(value = "是否显示") |
| | | private String isShow; |
| | | private Integer isShow; |
| | | |
| | | /** |
| | | * 创建人 |