admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
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
package com.yeshi.fanli.entity.bus.user;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
 
import com.google.gson.annotations.Expose;
 
/**
 * 站内消息
 * @author cxx
 *
 * @date 2018年1月29日
 */
@Entity
@Table(name="yeshi_ec_account_message")
@org.yeshi.utils.mybatis.Table("yeshi_ec_account_message")
public class AccountMessage {
 
    @org.yeshi.utils.mybatis.Column(name="id")
    @Id
    @GeneratedValue(strategy=GenerationType.AUTO)
    @Expose
    private Long id;
    
    @org.yeshi.utils.mybatis.Column(name="uid")
    @ManyToOne
    @JoinColumn(name="uid")
    private UserInfo userInfo;
    
    @org.yeshi.utils.mybatis.Column(name="title")
    @Expose
    private String title;
    
    @org.yeshi.utils.mybatis.Column(name="content")
    @Expose
    private String content;
    
    @org.yeshi.utils.mybatis.Column(name="createTime")
    @Expose
    private Long createTime;
    
    @org.yeshi.utils.mybatis.Column(name="isOpen")
    @Expose
    private Boolean isOpen;
 
    @org.yeshi.utils.mybatis.Column(name="system_msg_id")
    @Expose
    @Column(name="system_msg_id")
    private Long systemMsgId;
    
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
    
    public Boolean getIsOpen() {
        return isOpen;
    }
 
    public void setIsOpen(Boolean isOpen) {
        this.isOpen = isOpen;
    }
 
    public UserInfo getUserInfo() {
        return userInfo;
    }
    
 
    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    public Long getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
 
    public Long getSystemMsgId() {
        return systemMsgId;
    }
 
    public void setSystemMsgId(long systemMsgId) {
        this.systemMsgId = systemMsgId;
    }
    
}