| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- package cn.com.lzt.message.personal.entity;
- import java.math.BigDecimal;
- import java.util.Date;
- import java.lang.String;
- import java.lang.Double;
- import java.lang.Integer;
- import java.math.BigDecimal;
- import javax.persistence.*;
- import javax.xml.soap.Text;
- import java.sql.Blob;
- import org.hibernate.annotations.GenericGenerator;
- import org.jeecgframework.poi.excel.annotation.Excel;
- /**
- * @Title: Entity
- * @Description: m_personal_message
- * @author onlineGenerator
- * @date 2019-05-26 21:52:44
- * @version V1.0
- *
- */
- @Entity
- @Table(name = "m_personal_message", schema = "")
- @SuppressWarnings("serial")
- public class MPersonalMessageEntity implements java.io.Serializable {
- /**id*/
- private String id;
- /**用户id*/
- @Excel(name="用户id",width=15)
- private String userId;
- /**消息id*/
- @Excel(name="消息id",width=15)
- private String messageId;
- /**时间*/
- @Excel(name="时间",width=15,format = "yyyy-MM-dd")
- private Date createTime;
- private Integer isRead;
- private String previewUrl;
- private String previewUrlShort;
- private String title;
- private String createBy;
- private Date firstReadTime;
- private String noticeType;
- private String noticeTypeValue;
- private String uploadattr;
- /**
- *方法: 取得java.lang.Integer
- *@return: java.lang.Integer id
- */
- @Id
- @GeneratedValue(generator = "uuid")
- @GenericGenerator(name = "uuid", strategy = "uuid")
- @Column(name ="ID",nullable=false,length=32)
- public String getId(){
- return this.id;
- }
- /**
- *方法: 设置java.lang.Integer
- *@param: java.lang.Integer id
- */
- public void setId(String id){
- this.id = id;
- }
- /**
- *方法: 取得java.lang.String
- *@return: java.lang.String 用户id
- */
- @Column(name ="USER_ID",nullable=true,length=32)
- public String getUserId(){
- return this.userId;
- }
- /**
- *方法: 设置java.lang.String
- *@param: java.lang.String 用户id
- */
- public void setUserId(String userId){
- this.userId = userId;
- }
- /**
- *方法: 取得java.lang.Integer
- *@return: java.lang.Integer 消息id
- */
- @Column(name ="MESSAGE_ID",nullable=true,length=10)
- public String getMessageId(){
- return this.messageId;
- }
- /**
- *方法: 设置java.lang.Integer
- *@param: java.lang.Integer 消息id
- */
- public void setMessageId(String messageId){
- this.messageId = messageId;
- }
- /**
- *方法: 取得java.util.Date
- *@return: java.util.Date 时间
- */
- @Column(name ="CREATE_TIME",nullable=true)
- public Date getCreateTime(){
- return this.createTime;
- }
- /**
- *方法: 设置java.util.Date
- *@param: java.util.Date 时间
- */
- public void setCreateTime(Date createTime){
- this.createTime = createTime;
- }
- @Column(name ="is_read",nullable=true)
- public Integer getIsRead() {
- return isRead;
- }
- public void setIsRead(Integer isRead) {
- this.isRead = isRead;
- }
- @Column(name ="preview_url",nullable=true)
- public String getPreviewUrl() {
- return previewUrl;
- }
- public void setPreviewUrl(String previewUrl) {
- this.previewUrl = previewUrl;
- }
- @Column(name ="preview_url_short",nullable=true)
- public String getPreviewUrlShort() {
- return previewUrlShort;
- }
- public void setPreviewUrlShort(String previewUrlShort) {
- this.previewUrlShort = previewUrlShort;
- }
- @Column(name ="title",nullable=true)
- public String getTitle() {
- return title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- @Column(name ="create_by",nullable=true)
- public String getCreateBy() {
- return createBy;
- }
- public void setCreateBy(String createBy) {
- this.createBy = createBy;
- }
- @Column(name ="first_read_time",nullable=true)
- public Date getFirstReadTime() {
- return firstReadTime;
- }
- public void setFirstReadTime(Date firstReadTime) {
- this.firstReadTime = firstReadTime;
- }
- @Transient
- public String getNoticeType() {
- return noticeType;
- }
- public void setNoticeType(String noticeType) {
- this.noticeType = noticeType;
- }
- @Transient
- public String getNoticeTypeValue() {
- return noticeTypeValue;
- }
- public void setNoticeTypeValue(String noticeTypeValue) {
- this.noticeTypeValue = noticeTypeValue;
- }
-
- /**
- * @return the uploadattr
- */
- @javax.persistence.Transient
- public String getUploadattr() {
- return uploadattr;
- }
- /**
- * @param uploadattr the uploadattr to set
- */
- public void setUploadattr(String uploadattr) {
- this.uploadattr = uploadattr;
- }
- }
|