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;
|
}
|
|
}
|