admin
2020-05-19 744594ef1a2f530fc3e86ea9dc48b62247f79420
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
116
117
package com.yeshi.fanli.entity.bus.msg;
 
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
/*
 *设备消息状态存储
 */
@Table("yeshi_ec_msg_device_read_state")
public class MsgDeviceReadState {
    public static String TYPE_ZHUSHOU = "zhushou";// 板栗快省小助手
    public static String TYPE_RECOMMEND = "recommend";// 推荐
    public static String TYPE_KEFU = "kefu";
 
    @Column(name = "mdrs_id")
    private Long id;
    @Column(name = "mdrs_device")
    private String device;
    @Column(name = "mdrs_platform")
    private Integer platform;
    @Column(name = "mdrs_type")
    private String type;
    @Column(name = "mdrs_read_time")
    private Date readTime;
    @Column(name = "mdrs_unread_count")
    private Integer unReadCount;
    @Column(name = "mdrs_latest_content")
    private String latestContent;// 最近的未读消息
    @Column(name = "mdrs_latest_content_time")
    private Date latestContentTime;// 最近的未读消息
    @Column(name = "mdrs_createtime")
    private Date createTime;
    @Column(name = "mdrs_update_time")
    private Date updateTime;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getDevice() {
        return device;
    }
 
    public void setDevice(String device) {
        this.device = device;
    }
 
    public Integer getPlatform() {
        return platform;
    }
 
    public void setPlatform(Integer platform) {
        this.platform = platform;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public Date getReadTime() {
        return readTime;
    }
 
    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }
 
    public Integer getUnReadCount() {
        return unReadCount;
    }
 
    public void setUnReadCount(Integer unReadCount) {
        this.unReadCount = unReadCount;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public String getLatestContent() {
        return latestContent;
    }
 
    public void setLatestContent(String latestContent) {
        this.latestContent = latestContent;
    }
 
    public Date getLatestContentTime() {
        return latestContentTime;
    }
 
    public void setLatestContentTime(Date latestContentTime) {
        this.latestContentTime = latestContentTime;
    }
}