VnoticeUser.java 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. package com.hssx.cloudmodel.entity;
  2. import com.baomidou.mybatisplus.extension.activerecord.Model;
  3. import java.time.LocalDateTime;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import java.io.Serializable;
  6. /**
  7. * <p>
  8. * VIEW
  9. * </p>
  10. *
  11. * @author 吴涛涛
  12. * @since 2019-09-03
  13. */
  14. public class VnoticeUser extends Model<VnoticeUser> {
  15. private static final long serialVersionUID=1L;
  16. /**
  17. * 消息通知者表主键
  18. */
  19. @TableField("id")
  20. private Integer id;
  21. /**
  22. * 通知者id
  23. */
  24. @TableField("user_id")
  25. private Integer userId;
  26. /**
  27. * 是否已读 0-未读,1-已读
  28. */
  29. @TableField("is_read")
  30. private Integer isRead;
  31. /**
  32. * 消息通知表id
  33. */
  34. @TableField("news_id")
  35. private Integer newsId;
  36. /**
  37. * 项目id
  38. */
  39. @TableField("project_id")
  40. private Integer projectId;
  41. /**
  42. * 项目名
  43. */
  44. @TableField("project_name")
  45. private String projectName;
  46. /**
  47. * 消息提醒类型0-审批,1-保养,2-告警,3-待报废
  48. */
  49. @TableField("notice_type")
  50. private Integer noticeType;
  51. /**
  52. * 引用的外部表id(模具,文档,模具,模具)
  53. */
  54. @TableField("ref_id")
  55. private Integer refId;
  56. /**
  57. * 内容
  58. */
  59. @TableField("content")
  60. private String content;
  61. /**
  62. * 时间
  63. */
  64. @TableField("indate")
  65. private LocalDateTime indate;
  66. /**
  67. * 文件类型0-模具文档,1-零件文档,2-试模验收 3-保养方案 4-模具更新 5-模具报废,2-试模验收 3-保养方案 4-模具更新 5-模具报废
  68. */
  69. @TableField("belong_type")
  70. private Integer belongType;
  71. public Integer getId() {
  72. return id;
  73. }
  74. public void setId(Integer id) {
  75. this.id = id;
  76. }
  77. public Integer getUserId() {
  78. return userId;
  79. }
  80. public void setUserId(Integer userId) {
  81. this.userId = userId;
  82. }
  83. public Integer getIsRead() {
  84. return isRead;
  85. }
  86. public void setIsRead(Integer isRead) {
  87. this.isRead = isRead;
  88. }
  89. public Integer getNewsId() {
  90. return newsId;
  91. }
  92. public void setNewsId(Integer newsId) {
  93. this.newsId = newsId;
  94. }
  95. public Integer getProjectId() {
  96. return projectId;
  97. }
  98. public void setProjectId(Integer projectId) {
  99. this.projectId = projectId;
  100. }
  101. public String getProjectName() {
  102. return projectName;
  103. }
  104. public void setProjectName(String projectName) {
  105. this.projectName = projectName;
  106. }
  107. public Integer getNoticeType() {
  108. return noticeType;
  109. }
  110. public void setNoticeType(Integer noticeType) {
  111. this.noticeType = noticeType;
  112. }
  113. public Integer getRefId() {
  114. return refId;
  115. }
  116. public void setRefId(Integer refId) {
  117. this.refId = refId;
  118. }
  119. public String getContent() {
  120. return content;
  121. }
  122. public void setContent(String content) {
  123. this.content = content;
  124. }
  125. public LocalDateTime getIndate() {
  126. return indate;
  127. }
  128. public void setIndate(LocalDateTime indate) {
  129. this.indate = indate;
  130. }
  131. public Integer getBelongType() {
  132. return belongType;
  133. }
  134. public void setBelongType(Integer belongType) {
  135. this.belongType = belongType;
  136. }
  137. @Override
  138. protected Serializable pkVal() {
  139. return null;
  140. }
  141. @Override
  142. public String toString() {
  143. return "VnoticeUser{" +
  144. "id=" + id +
  145. ", userId=" + userId +
  146. ", isRead=" + isRead +
  147. ", newsId=" + newsId +
  148. ", projectId=" + projectId +
  149. ", projectName=" + projectName +
  150. ", noticeType=" + noticeType +
  151. ", refId=" + refId +
  152. ", content=" + content +
  153. ", indate=" + indate +
  154. ", belongType=" + belongType +
  155. "}";
  156. }
  157. }