| | |
| | | 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; |
| | |
| | | */ |
| | | @Data |
| | | @ApiModel("消息参数体") |
| | | public class MessageParam { |
| | | public class MessageParam extends BasePageVO { |
| | | /** |
| | | * 标题 |
| | | */ |
| | |
| | | @NotNull(message = "标题为空") |
| | | private String head; |
| | | /** |
| | | * 渠道码01-内站信02-邮件03-短信 |
| | | */ |
| | | @TableField("channel_code") |
| | | @ApiModelProperty(value = "渠道码01-内站信02-邮件03-短信") |
| | | @NotNull(message = "渠道码为空") |
| | | private String channelCode; |
| | | /** |
| | | * 消息类型 |
| | | */ |
| | | @ApiModelProperty(value = "消息类型0-站内信1-邮件2-短信") |
| | | @ApiModelProperty(value = "填充栏目编码", required = true) |
| | | @NotNull(message = "消息类型为空") |
| | | private Integer messageType; |
| | | /** |