|
@@ -1,11 +1,8 @@
|
|
|
package com.hssx.cloudmodel.entity;
|
|
|
|
|
|
-import com.alibaba.fastjson.annotation.JSONField;
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
import java.time.LocalDateTime;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
-import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
-
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
@@ -14,7 +11,7 @@ import java.io.Serializable;
|
|
|
* </p>
|
|
|
*
|
|
|
* @author 吴涛涛
|
|
|
- * @since 2019-08-10
|
|
|
+ * @since 2019-09-03
|
|
|
*/
|
|
|
public class VnoticeUser extends Model<VnoticeUser> {
|
|
|
|
|
@@ -57,13 +54,13 @@ public class VnoticeUser extends Model<VnoticeUser> {
|
|
|
private String projectName;
|
|
|
|
|
|
/**
|
|
|
- * 消息提醒类型0-审批,1-保养,2-告警
|
|
|
+ * 消息提醒类型0-审批,1-保养,2-告警,3-待报废
|
|
|
*/
|
|
|
@TableField("notice_type")
|
|
|
private Integer noticeType;
|
|
|
|
|
|
/**
|
|
|
- * 引用的外部表id(模具,文档,设备)
|
|
|
+ * 引用的外部表id(模具,文档,模具,模具)
|
|
|
*/
|
|
|
@TableField("ref_id")
|
|
|
private Integer refId;
|
|
@@ -78,9 +75,14 @@ public class VnoticeUser extends Model<VnoticeUser> {
|
|
|
* 时间
|
|
|
*/
|
|
|
@TableField("indate")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private LocalDateTime indate;
|
|
|
|
|
|
+ /**
|
|
|
+ * 文件类型
|
|
|
+ */
|
|
|
+ @TableField("blong_type")
|
|
|
+ private Integer blongType;
|
|
|
+
|
|
|
|
|
|
public Integer getId() {
|
|
|
return id;
|
|
@@ -162,6 +164,14 @@ public class VnoticeUser extends Model<VnoticeUser> {
|
|
|
this.indate = indate;
|
|
|
}
|
|
|
|
|
|
+ public Integer getBlongType() {
|
|
|
+ return blongType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBlongType(Integer blongType) {
|
|
|
+ this.blongType = blongType;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
protected Serializable pkVal() {
|
|
|
return null;
|
|
@@ -180,6 +190,7 @@ public class VnoticeUser extends Model<VnoticeUser> {
|
|
|
", refId=" + refId +
|
|
|
", content=" + content +
|
|
|
", indate=" + indate +
|
|
|
+ ", blongType=" + blongType +
|
|
|
"}";
|
|
|
}
|
|
|
}
|