io.github.wslxm.springbootplus2.manage.sys.model.dto.SysMsgDTO Maven / Gradle / Ivy
The newest version!
package io.github.wslxm.springbootplus2.manage.sys.model.dto;
import io.github.wslxm.springbootplus2.core.base.model.Convert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import java.util.Map;
/**
* 订单-->及时消息通知表
*
* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
*
* @author wangsong
* @email [email protected]
* @date 2020-09-23 10:40:23
*/
@Data
@ToString(callSuper = true)
@ApiModel(value = "SysMsgDTO 对象", description = "订单-->及时消息通知表")
public class SysMsgDTO extends Convert {
private static final long serialVersionUID = 0L;
@ApiModelProperty(notes = "消息接收人")
private String userId;
@ApiModelProperty(notes = "内容( 根据消息类型区分数据-str || json)")
private String content;
@ApiModelProperty(notes = "通知终端: 1-用户端信息 2-管理端消息")
private Integer userType;
@ApiModelProperty(notes = "消息类型 (自定义枚举业务类型)")
private Integer msgType;
@ApiModelProperty(notes = "路由参数,如该消息需要跳转,点击消息跳转附带的动态参数")
private Map routeParams;
@ApiModelProperty(notes = "是否同时发送websocket消息(默认不发送)")
private Boolean isWebsocket;
}