From b854d8d7604329dcf99584d15f83ff02076d9e07 Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: Thu, 01 Sep 2022 10:52:04 +0800
Subject: [PATCH] 假删除fix
---
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTypeMng.java | 45 +++++++++++++++++++++++++++++----------------
1 files changed, 29 insertions(+), 16 deletions(-)
diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTypeMng.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTypeMng.java
index d13e5ce..c2cef75 100644
--- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTypeMng.java
+++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentTypeMng.java
@@ -1,20 +1,23 @@
package com.gkhy.safePlatform.equipment.entity;
+import java.sql.Timestamp;
+import com.gkhy.safePlatform.equipment.entity.BaseDomain;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
+import com.fasterxml.jackson.annotation.JsonFormat;
/**
* 设备设施类型管理(EquipmentTypeMng)表实体类
*
* @author xurui
- * @since 2022-07-19 08:35:02
+ * @since 2022-08-29 08:39:44
*/
@SuppressWarnings("serial")
@TableName("equipment_type_mng")
public class EquipmentTypeMng extends BaseDomain {
-
-
+
+
@TableId(type = IdType.AUTO)
private Long id;
public Long getId() {
@@ -25,9 +28,9 @@
this.id = id;
}
- //类别名称
+ //类别名称
private String typeName;
-
+
public String getTypeName() {
return typeName;
}
@@ -35,9 +38,9 @@
public void setTypeName(String typeName) {
this.typeName = typeName;
}
- //是否为设备内容 1:是 2:否
+ //是否为设备内容 1:是 2:否
private Integer isContent;
-
+
public Integer getIsContent() {
return isContent;
}
@@ -45,9 +48,9 @@
public void setIsContent(Integer isContent) {
this.isContent = isContent;
}
- //父级ID,如果没有父级,为0
+ //父级ID,如果没有父级,为0
private Long parentId;
-
+
public Long getParentId() {
return parentId;
}
@@ -55,9 +58,9 @@
public void setParentId(Long parentId) {
this.parentId = parentId;
}
- //排序号
+ //排序号
private Integer sortNum;
-
+
public Integer getSortNum() {
return sortNum;
}
@@ -65,9 +68,9 @@
public void setSortNum(Integer sortNum) {
this.sortNum = sortNum;
}
- //是否巡检 1:是 2:否
+ //是否巡检 1:是 2:否
private Integer isVisit;
-
+
public Integer getIsVisit() {
return isVisit;
}
@@ -75,9 +78,9 @@
public void setIsVisit(Integer isVisit) {
this.isVisit = isVisit;
}
- //是否检测 1:是 2:否
+ //是否检测 1:是 2:否
private Integer isCheck;
-
+
public Integer getIsCheck() {
return isCheck;
}
@@ -85,5 +88,15 @@
public void setIsCheck(Integer isCheck) {
this.isCheck = isCheck;
}
-
+ //是否删除 0:未删除 1:删除
+ private Integer delFlag;
+
+ public Integer getDelFlag() {
+ return delFlag;
+ }
+
+ public void setDelFlag(Integer delFlag) {
+ this.delFlag = delFlag;
+ }
+
}
\ No newline at end of file
--
Gitblit v1.9.2