From 88b54772dbcf5ecab1e2316e4e4626ac901b8908 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期二, 22 一月 2019 15:58:24 +0800 Subject: [PATCH] 邀请码添加返回状态 --- fanli/src/main/java/com/yeshi/fanli/vo/msg/UserSystemMsgVO.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/vo/msg/UserSystemMsgVO.java b/fanli/src/main/java/com/yeshi/fanli/vo/msg/UserSystemMsgVO.java index 241baa0..e97f078 100644 --- a/fanli/src/main/java/com/yeshi/fanli/vo/msg/UserSystemMsgVO.java +++ b/fanli/src/main/java/com/yeshi/fanli/vo/msg/UserSystemMsgVO.java @@ -10,9 +10,10 @@ private String content; private String timeTag; private String createTime; + private int unReadCount; public UserSystemMsgVO(Long id, String type, Boolean solved, String title, String content, String timeTag, - String portrait, String createTime) { + String portrait, String createTime, int unReadCount) { this.id = id; this.type = type; this.solved = solved; @@ -21,6 +22,7 @@ this.timeTag = timeTag; this.portrait = portrait; this.createTime = createTime; + this.unReadCount = unReadCount; } public UserSystemMsgVO() { @@ -35,6 +37,14 @@ this.id = id; } + public int getUnReadCount() { + return unReadCount; + } + + public void setUnReadCount(int unReadCount) { + this.unReadCount = unReadCount; + } + public String getPortrait() { return portrait; } -- Gitblit v1.8.0