fix: 补充 Dict、Role 和 User 类中添加了 isDeleted 字段的定义

This commit is contained in:
Ray.Hao
2024-10-22 18:31:04 +08:00
parent 4c65f708f7
commit a65852d3e8
6 changed files with 17 additions and 4 deletions

View File

@@ -51,7 +51,6 @@ public class Config extends BaseEntity {
/**
* 逻辑删除标识(0-未删除 1-已删除)
*/
@TableLogic(value = "0", delval = "1")
private Integer isDeleted;
}

View File

@@ -58,9 +58,8 @@ public class Dept extends BaseEntity {
private Long updateBy;
/**
* 逻辑删除标识(0-未删除 1-已删除)
* 是否删除(0-否 1-是)
*/
@TableLogic(value = "0", delval = "1")
private Integer isDeleted;
}

View File

@@ -37,4 +37,9 @@ public class Dict extends BaseEntity {
*/
private String remark;
/**
* 逻辑删除标识(0-未删除 1-已删除)
*/
private Integer isDeleted;
}

View File

@@ -79,9 +79,9 @@ public class Notice extends BaseEntity {
* 更新人ID
*/
private Long updateBy;
/**
* 逻辑删除标识(0-未删除 1-已删除)
*/
@TableLogic(value = "0", delval = "1")
private Integer isDeleted;
}

View File

@@ -50,4 +50,9 @@ public class Role extends BaseEntity {
* 更新人 ID
*/
private Long updateBy;
/**
* 是否删除(0-否 1-是)
*/
private Integer isDeleted;
}

View File

@@ -67,4 +67,9 @@ public class User extends BaseEntity {
* 更新人 ID
*/
private Long updateBy;
/**
* 是否删除(0-否 1-是)
*/
private Integer isDeleted;
}