| | |
| | | package com.yeshi.fanli.vo.msg;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import com.yeshi.fanli.entity.common.JumpDetailV2;
|
| | |
|
| | | public class UserCommonMsgVO {
|
| | | public static String TYPE_KEFU = "kefu";
|
| | | public static String TYPE_GUANXUAN = "guanxuan";
|
| | | public static String TYPE_ZHUSHOU = "zhushou";
|
| | | public static String TYPE_RECOMMEND = "recommend";
|
| | |
|
| | | private String icon;
|
| | | private String title;
|
| | | private Date time;
|
| | | private String type; // kefu -客服消息 other-其他消息
|
| | | private String latestMsg;// 最近的消息
|
| | | private Boolean read;// 是否已读
|
| | | private JumpDetailV2 jumpDetail;// 跳转详情
|
| | | private String params;// 跳转参数
|
| | |
|
| | | public UserCommonMsgVO(String icon, String title, Date time, String type, String latestMsg, Boolean read,
|
| | | JumpDetailV2 jumpDetail, String params) {
|
| | | this.icon = icon;
|
| | | this.title = title;
|
| | | this.time = time;
|
| | | this.type = type;
|
| | | this.latestMsg = latestMsg;
|
| | | this.read = read;
|
| | | this.jumpDetail = jumpDetail;
|
| | | this.params = params;
|
| | | }
|
| | |
|
| | | public UserCommonMsgVO() {
|
| | |
|
| | | }
|
| | |
|
| | | 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 String getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(String type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String getLatestMsg() {
|
| | | return latestMsg;
|
| | | }
|
| | |
|
| | | public void setLatestMsg(String latestMsg) {
|
| | | this.latestMsg = latestMsg;
|
| | | }
|
| | |
|
| | | public Boolean getRead() {
|
| | | return read;
|
| | | }
|
| | |
|
| | | public void setRead(Boolean read) {
|
| | | this.read = read;
|
| | | }
|
| | |
|
| | | 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;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.vo.msg; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.yeshi.fanli.entity.common.JumpDetailV2; |
| | | |
| | | public class UserCommonMsgVO { |
| | | public static String TYPE_KEFU = "kefu"; |
| | | public static String TYPE_GUANXUAN = "guanxuan"; |
| | | public static String TYPE_ZHUSHOU = "zhushou"; |
| | | public static String TYPE_RECOMMEND = "recommend"; |
| | | public static String TYPE_SYSTEM = "system";// 系统消息 |
| | | public static String TYPE_NOTIFY = "notify";// 通知消息 |
| | | |
| | | private String icon; |
| | | private String title; |
| | | private Date time; |
| | | private String type; // kefu -客服消息 other-其他消息 |
| | | private String latestMsg;// 最近的消息 |
| | | private Boolean read;// 是否已读 |
| | | private JumpDetailV2 jumpDetail;// 跳转详情 |
| | | private String params;// 跳转参数 |
| | | private Integer unReadCount;// 消息未读数 |
| | | private String picture;// 大图 |
| | | |
| | | public UserCommonMsgVO(String icon, String title, Date time, String type, String latestMsg, Boolean read, |
| | | JumpDetailV2 jumpDetail, String params, Integer unReadCount) { |
| | | this.icon = icon; |
| | | this.title = title; |
| | | this.time = time; |
| | | this.type = type; |
| | | this.latestMsg = latestMsg; |
| | | this.read = read; |
| | | this.jumpDetail = jumpDetail; |
| | | this.params = params; |
| | | this.unReadCount = unReadCount; |
| | | } |
| | | |
| | | public String getPicture() { |
| | | return picture; |
| | | } |
| | | |
| | | public void setPicture(String picture) { |
| | | this.picture = picture; |
| | | } |
| | | |
| | | public Integer getUnReadCount() { |
| | | return unReadCount; |
| | | } |
| | | |
| | | public void setUnReadCount(Integer unReadCount) { |
| | | this.unReadCount = unReadCount; |
| | | } |
| | | |
| | | public UserCommonMsgVO() { |
| | | |
| | | } |
| | | |
| | | 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 String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getLatestMsg() { |
| | | return latestMsg; |
| | | } |
| | | |
| | | public void setLatestMsg(String latestMsg) { |
| | | this.latestMsg = latestMsg; |
| | | } |
| | | |
| | | public Boolean getRead() { |
| | | return read; |
| | | } |
| | | |
| | | public void setRead(Boolean read) { |
| | | this.read = read; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | |
| | | } |