wl
2022-10-17 d46beba25ccb64a1047a98d642b6ce45e82f0bee
ycl-platform/src/main/java/com/ycl/dto/message/MessageParam.java
@@ -1,5 +1,7 @@
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;
@@ -16,7 +18,7 @@
 */
@Data
@ApiModel("消息参数体")
public class MessageParam {
public class MessageParam extends BasePageVO {
    /**
     * 标题
     */
@@ -24,9 +26,16 @@
    @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;
    /**
@@ -73,4 +82,9 @@
     */
    @ApiModelProperty(value = "创建人")
    private Long createUser;
    /**
     * 是否扫描0-未扫描1-已扫描
     */
    @ApiModelProperty(value = "是否扫描0-未扫描1-已扫描")
    private Integer isScan;
}