MailGroupItem.java
2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
package com.wd.foundation.bean.message;
import java.io.Serializable;
import android.text.TextUtils;
/**
* @ProjectName: PeopleDaily
* @ClassName: MainItem
* @Description: 站内信分组item
* @Author: wd
* @CreateDate: 2023/2/2 13:45
* @UpdateUser: wd
* @UpdateDate: 2023/2/2 13:45
* @UpdateRemark: 更新说明:
* @Version: 1.2
*/
public class MailGroupItem implements Serializable {
/**
*互动消息
* */
public static final String COMMENTS_MSG = "1";
/**
*预约消息
* */
public static final String RESERVATION_MSG = "2";
/**
*系统消息
* */
public static final String SYSTEM_MSG = "3";
/**
*推送消息
* */
public static final String PUSH_MSG = "4";
/**
* 订阅消息
*/
public static final String SUBSCRIBE_MSG = "5";
/**
* 类型
* */
private String type;
/**
* 图标
* */
private int icon;
/**
* 标题
* */
private String title;
/**
* 描述
*/
private String message;
/**
* 未读消息数据
* */
private int unReadNums;
/**
* 消息时间
*/
private String time;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public int getIcon() {
return icon;
}
public void setIcon(int icon) {
this.icon = icon;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public int getUnReadNums() {
return unReadNums;
}
public void setUnReadNums(int unReadNums) {
this.unReadNums = unReadNums;
}
public String getTime() {
return time;
}
public void setTime(String time) {
this.time = time;
}
public String getMessage() {
if (!TextUtils.isEmpty(message)){
return message.trim();
}
return message;
}
public void setMessage(String message) {
this.message = message;
}
}