| | |
| | | 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; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | @Data |
| | | @ApiModel("消息参数体") |
| | | public class MessageParam { |
| | | public class MessageParam extends BasePageVO { |
| | | private Byte sort; |
| | | /** |
| | | * 标题 |
| | | */ |
| | | @ApiModelProperty(value = "标题") |
| | | @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-短信", required = true) |
| | | @NotNull(message = "消息类型为空") |
| | | @ApiModelProperty(value = "填充栏目编码") |
| | | private Integer messageType; |
| | | /** |
| | | * 消息体 |
| | | */ |
| | | @ApiModelProperty(value = "消息体") |
| | | @NotNull(message = "消息体为空") |
| | | private String body; |
| | | /** |
| | | * 发送者 |
| | | */ |
| | | @ApiModelProperty(value = "发送者") |
| | | @NotNull(message = "发送者为空") |
| | | private String targetFrom; |
| | | /** |
| | | * 接收者 |
| | | */ |
| | | @ApiModelProperty(value = "接收者") |
| | | @NotNull(message = "接收者为空") |
| | | private String targetTo; |
| | | /** |
| | | * 随机码 |
| | | */ |
| | | @ApiModelProperty(value = "随机码") |
| | | private String randomCode; |
| | | /** |
| | | * 发送时间 |
| | | */ |
| | | @ApiModelProperty(value = "发送时间") |
| | | @NotNull(message = "发送时间为空") |
| | | private String sendTime; |
| | | |
| | | @ApiModelProperty(value = "开始时间") |
| | | private String startTime; |
| | | |
| | | @ApiModelProperty(value = "开始时间") |
| | | private String endTime; |
| | | /** |
| | | * 状态0-未发布1-已发布 |
| | | */ |
| | | @ApiModelProperty(value = "状态0-未发布1-已发布") |
| | | private Integer status; |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty(value = "备注 ps:预留字段") |
| | | private String remark; |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createUser; |
| | | |
| | | @ApiModelProperty(value = "是否查看0-未发布1-已发布") |
| | | private Integer isView; |
| | | |
| | | @ApiModelProperty(value = "是否查看0-未发布1-已发布") |
| | | private String targetTo; |
| | | |
| | | @ApiModelProperty(value = "响应结果") |
| | | private String respondResult; |
| | | |
| | | } |