From 62a447d89331aee1feae7724c7616aa1bb2cfe79 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 16 十月 2024 14:28:37 +0800 Subject: [PATCH] 将CMQ替换为rabbitmq --- fanli/src/main/java/com/yeshi/fanli/vo/msg/UserMsgVO.java | 145 ++++++++++++++++++++++++++++++----------------- 1 files changed, 92 insertions(+), 53 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/vo/msg/UserMsgVO.java b/fanli/src/main/java/com/yeshi/fanli/vo/msg/UserMsgVO.java index 3569894..3bc9224 100644 --- a/fanli/src/main/java/com/yeshi/fanli/vo/msg/UserMsgVO.java +++ b/fanli/src/main/java/com/yeshi/fanli/vo/msg/UserMsgVO.java @@ -1,53 +1,92 @@ -package com.yeshi.fanli.vo.msg; - -import java.util.Date; -import java.util.List; - -public class UserMsgVO { - private String icon; - private String title; - private Date time; - private List<CommonMsgItemVO> contentItems; - - public UserMsgVO(String icon, String title, Date time, List<CommonMsgItemVO> contentItems) { - this.icon = icon; - this.title = title; - this.time = time; - this.contentItems = contentItems; - } - - public UserMsgVO() { - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public Date getTime() { - return time; - } - - public void setTime(Date time) { - this.time = time; - } - - public List<CommonMsgItemVO> getContentItems() { - return contentItems; - } - - public void setContentItems(List<CommonMsgItemVO> contentItems) { - this.contentItems = contentItems; - } -} +package com.yeshi.fanli.vo.msg; + +import java.util.Date; +import java.util.List; + +import com.yeshi.fanli.entity.common.JumpDetailV2; + +public class UserMsgVO { + private String icon; + private String title; + private Date time; + private String type; // order(璁㈠崟)/money(璧勯噾)/account(璐﹀彿)/invite(閭�璇�)/other锛堝叾浠栵級 + private List<CommonMsgItemVO> contentItems; + private JumpDetailV2 jumpDetail;// 璺宠浆璇︽儏 + private String params;// 璺宠浆鍙傛暟 + private Long id; + + public JumpDetailV2 getJumpDetail() { + return jumpDetail; + } + + public void setJumpDetail(JumpDetailV2 jumpDetail) { + this.jumpDetail = jumpDetail; + } + + public String getParams() { + return params; + } + + public void setParams(String params) { + this.params = params; + } + + public UserMsgVO(Long id, String icon, String title, Date time, List<CommonMsgItemVO> contentItems) { + this.id = id; + this.icon = icon; + this.title = title; + this.time = time; + this.contentItems = contentItems; + } + + public UserMsgVO() { + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public Date getTime() { + return time; + } + + public void setTime(Date time) { + this.time = time; + } + + public List<CommonMsgItemVO> getContentItems() { + return contentItems; + } + + public void setContentItems(List<CommonMsgItemVO> contentItems) { + this.contentItems = contentItems; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } +} -- Gitblit v1.8.0