123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- package com.hssx.cloudmodel.entity;
- import com.baomidou.mybatisplus.extension.activerecord.Model;
- import java.time.LocalDateTime;
- import com.baomidou.mybatisplus.annotation.TableField;
- import java.io.Serializable;
- /**
- * <p>
- * VIEW
- * </p>
- *
- * @author 吴涛涛
- * @since 2019-09-03
- */
- public class VnoticeUser extends Model<VnoticeUser> {
- private static final long serialVersionUID=1L;
- /**
- * 消息通知者表主键
- */
- @TableField("id")
- private Integer id;
- /**
- * 通知者id
- */
- @TableField("user_id")
- private Integer userId;
- /**
- * 是否已读 0-未读,1-已读
- */
- @TableField("is_read")
- private Integer isRead;
- /**
- * 消息通知表id
- */
- @TableField("news_id")
- private Integer newsId;
- /**
- * 项目id
- */
- @TableField("project_id")
- private Integer projectId;
- /**
- * 项目名
- */
- @TableField("project_name")
- private String projectName;
- /**
- * 消息提醒类型0-审批,1-保养,2-告警,3-待报废
- */
- @TableField("notice_type")
- private Integer noticeType;
- /**
- * 引用的外部表id(模具,文档,模具,模具)
- */
- @TableField("ref_id")
- private Integer refId;
- /**
- * 内容
- */
- @TableField("content")
- private String content;
- /**
- * 时间
- */
- @TableField("indate")
- private LocalDateTime indate;
- /**
- * 文件类型0-模具文档,1-零件文档,2-试模验收 3-保养方案 4-模具更新 5-模具报废,2-试模验收 3-保养方案 4-模具更新 5-模具报废
- */
- @TableField("belong_type")
- private Integer belongType;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public Integer getUserId() {
- return userId;
- }
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
- public Integer getIsRead() {
- return isRead;
- }
- public void setIsRead(Integer isRead) {
- this.isRead = isRead;
- }
- public Integer getNewsId() {
- return newsId;
- }
- public void setNewsId(Integer newsId) {
- this.newsId = newsId;
- }
- public Integer getProjectId() {
- return projectId;
- }
- public void setProjectId(Integer projectId) {
- this.projectId = projectId;
- }
- public String getProjectName() {
- return projectName;
- }
- public void setProjectName(String projectName) {
- this.projectName = projectName;
- }
- public Integer getNoticeType() {
- return noticeType;
- }
- public void setNoticeType(Integer noticeType) {
- this.noticeType = noticeType;
- }
- public Integer getRefId() {
- return refId;
- }
- public void setRefId(Integer refId) {
- this.refId = refId;
- }
- public String getContent() {
- return content;
- }
- public void setContent(String content) {
- this.content = content;
- }
- public LocalDateTime getIndate() {
- return indate;
- }
- public void setIndate(LocalDateTime indate) {
- this.indate = indate;
- }
- public Integer getBelongType() {
- return belongType;
- }
- public void setBelongType(Integer belongType) {
- this.belongType = belongType;
- }
- @Override
- protected Serializable pkVal() {
- return null;
- }
- @Override
- public String toString() {
- return "VnoticeUser{" +
- "id=" + id +
- ", userId=" + userId +
- ", isRead=" + isRead +
- ", newsId=" + newsId +
- ", projectId=" + projectId +
- ", projectName=" + projectName +
- ", noticeType=" + noticeType +
- ", refId=" + refId +
- ", content=" + content +
- ", indate=" + indate +
- ", belongType=" + belongType +
- "}";
- }
- }
|