fix: 补充 Dict、Role 和 User 类中添加了 isDeleted 字段的定义
This commit is contained in:
@@ -51,7 +51,6 @@ public class Config extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 逻辑删除标识(0-未删除 1-已删除)
|
* 逻辑删除标识(0-未删除 1-已删除)
|
||||||
*/
|
*/
|
||||||
@TableLogic(value = "0", delval = "1")
|
|
||||||
private Integer isDeleted;
|
private Integer isDeleted;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,9 +58,8 @@ public class Dept extends BaseEntity {
|
|||||||
private Long updateBy;
|
private Long updateBy;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 逻辑删除标识(0-未删除 1-已删除)
|
* 是否删除(0-否 1-是)
|
||||||
*/
|
*/
|
||||||
@TableLogic(value = "0", delval = "1")
|
|
||||||
private Integer isDeleted;
|
private Integer isDeleted;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -37,4 +37,9 @@ public class Dict extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识(0-未删除 1-已删除)
|
||||||
|
*/
|
||||||
|
private Integer isDeleted;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -79,9 +79,9 @@ public class Notice extends BaseEntity {
|
|||||||
* 更新人ID
|
* 更新人ID
|
||||||
*/
|
*/
|
||||||
private Long updateBy;
|
private Long updateBy;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 逻辑删除标识(0-未删除 1-已删除)
|
* 逻辑删除标识(0-未删除 1-已删除)
|
||||||
*/
|
*/
|
||||||
@TableLogic(value = "0", delval = "1")
|
|
||||||
private Integer isDeleted;
|
private Integer isDeleted;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,4 +50,9 @@ public class Role extends BaseEntity {
|
|||||||
* 更新人 ID
|
* 更新人 ID
|
||||||
*/
|
*/
|
||||||
private Long updateBy;
|
private Long updateBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否删除(0-否 1-是)
|
||||||
|
*/
|
||||||
|
private Integer isDeleted;
|
||||||
}
|
}
|
||||||
@@ -67,4 +67,9 @@ public class User extends BaseEntity {
|
|||||||
* 更新人 ID
|
* 更新人 ID
|
||||||
*/
|
*/
|
||||||
private Long updateBy;
|
private Long updateBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否删除(0-否 1-是)
|
||||||
|
*/
|
||||||
|
private Integer isDeleted;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user