逻辑删除

This commit is contained in:
张松
2025-11-10 10:45:41 +08:00
parent 0de787b742
commit b867ad7dc3
3 changed files with 9 additions and 0 deletions

View File

@@ -39,6 +39,9 @@ public class ShopInfo implements Serializable {
@Id(keyType = KeyType.Auto)
private Long id;
@Column(isLogicDelete = true)
private Integer isDeleted;
/**
* 主店id
*/

View File

@@ -95,5 +95,8 @@ public class ShopStaff implements Serializable {
@Column(ignore = true)
private String phone;
@Column(isLogicDelete = true)
private Integer isDeleted;
}

View File

@@ -106,4 +106,7 @@ public class SysUser implements Serializable {
@Column(onInsertValue = "now()", onUpdateValue = "now()")
private LocalDateTime updateTime;
@Column(isLogicDelete = true)
private Integer isDeleted;
}