MPersonalMessageEntity.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. package cn.com.lzt.message.personal.entity;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import java.lang.String;
  5. import java.lang.Double;
  6. import java.lang.Integer;
  7. import java.math.BigDecimal;
  8. import javax.persistence.*;
  9. import javax.xml.soap.Text;
  10. import java.sql.Blob;
  11. import org.hibernate.annotations.GenericGenerator;
  12. import org.jeecgframework.poi.excel.annotation.Excel;
  13. /**
  14. * @Title: Entity
  15. * @Description: m_personal_message
  16. * @author onlineGenerator
  17. * @date 2019-05-26 21:52:44
  18. * @version V1.0
  19. *
  20. */
  21. @Entity
  22. @Table(name = "m_personal_message", schema = "")
  23. @SuppressWarnings("serial")
  24. public class MPersonalMessageEntity implements java.io.Serializable {
  25. /**id*/
  26. private String id;
  27. /**用户id*/
  28. @Excel(name="用户id",width=15)
  29. private String userId;
  30. /**消息id*/
  31. @Excel(name="消息id",width=15)
  32. private String messageId;
  33. /**时间*/
  34. @Excel(name="时间",width=15,format = "yyyy-MM-dd")
  35. private Date createTime;
  36. private Integer isRead;
  37. private String previewUrl;
  38. private String previewUrlShort;
  39. private String title;
  40. private String createBy;
  41. private Date firstReadTime;
  42. private String noticeType;
  43. private String noticeTypeValue;
  44. private String uploadattr;
  45. /**
  46. *方法: 取得java.lang.Integer
  47. *@return: java.lang.Integer id
  48. */
  49. @Id
  50. @GeneratedValue(generator = "uuid")
  51. @GenericGenerator(name = "uuid", strategy = "uuid")
  52. @Column(name ="ID",nullable=false,length=32)
  53. public String getId(){
  54. return this.id;
  55. }
  56. /**
  57. *方法: 设置java.lang.Integer
  58. *@param: java.lang.Integer id
  59. */
  60. public void setId(String id){
  61. this.id = id;
  62. }
  63. /**
  64. *方法: 取得java.lang.String
  65. *@return: java.lang.String 用户id
  66. */
  67. @Column(name ="USER_ID",nullable=true,length=32)
  68. public String getUserId(){
  69. return this.userId;
  70. }
  71. /**
  72. *方法: 设置java.lang.String
  73. *@param: java.lang.String 用户id
  74. */
  75. public void setUserId(String userId){
  76. this.userId = userId;
  77. }
  78. /**
  79. *方法: 取得java.lang.Integer
  80. *@return: java.lang.Integer 消息id
  81. */
  82. @Column(name ="MESSAGE_ID",nullable=true,length=10)
  83. public String getMessageId(){
  84. return this.messageId;
  85. }
  86. /**
  87. *方法: 设置java.lang.Integer
  88. *@param: java.lang.Integer 消息id
  89. */
  90. public void setMessageId(String messageId){
  91. this.messageId = messageId;
  92. }
  93. /**
  94. *方法: 取得java.util.Date
  95. *@return: java.util.Date 时间
  96. */
  97. @Column(name ="CREATE_TIME",nullable=true)
  98. public Date getCreateTime(){
  99. return this.createTime;
  100. }
  101. /**
  102. *方法: 设置java.util.Date
  103. *@param: java.util.Date 时间
  104. */
  105. public void setCreateTime(Date createTime){
  106. this.createTime = createTime;
  107. }
  108. @Column(name ="is_read",nullable=true)
  109. public Integer getIsRead() {
  110. return isRead;
  111. }
  112. public void setIsRead(Integer isRead) {
  113. this.isRead = isRead;
  114. }
  115. @Column(name ="preview_url",nullable=true)
  116. public String getPreviewUrl() {
  117. return previewUrl;
  118. }
  119. public void setPreviewUrl(String previewUrl) {
  120. this.previewUrl = previewUrl;
  121. }
  122. @Column(name ="preview_url_short",nullable=true)
  123. public String getPreviewUrlShort() {
  124. return previewUrlShort;
  125. }
  126. public void setPreviewUrlShort(String previewUrlShort) {
  127. this.previewUrlShort = previewUrlShort;
  128. }
  129. @Column(name ="title",nullable=true)
  130. public String getTitle() {
  131. return title;
  132. }
  133. public void setTitle(String title) {
  134. this.title = title;
  135. }
  136. @Column(name ="create_by",nullable=true)
  137. public String getCreateBy() {
  138. return createBy;
  139. }
  140. public void setCreateBy(String createBy) {
  141. this.createBy = createBy;
  142. }
  143. @Column(name ="first_read_time",nullable=true)
  144. public Date getFirstReadTime() {
  145. return firstReadTime;
  146. }
  147. public void setFirstReadTime(Date firstReadTime) {
  148. this.firstReadTime = firstReadTime;
  149. }
  150. @Transient
  151. public String getNoticeType() {
  152. return noticeType;
  153. }
  154. public void setNoticeType(String noticeType) {
  155. this.noticeType = noticeType;
  156. }
  157. @Transient
  158. public String getNoticeTypeValue() {
  159. return noticeTypeValue;
  160. }
  161. public void setNoticeTypeValue(String noticeTypeValue) {
  162. this.noticeTypeValue = noticeTypeValue;
  163. }
  164. /**
  165. * @return the uploadattr
  166. */
  167. @javax.persistence.Transient
  168. public String getUploadattr() {
  169. return uploadattr;
  170. }
  171. /**
  172. * @param uploadattr the uploadattr to set
  173. */
  174. public void setUploadattr(String uploadattr) {
  175. this.uploadattr = uploadattr;
  176. }
  177. }