逻辑删除
This commit is contained in:
@@ -39,6 +39,9 @@ public class ShopInfo implements Serializable {
|
|||||||
@Id(keyType = KeyType.Auto)
|
@Id(keyType = KeyType.Auto)
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
|
@Column(isLogicDelete = true)
|
||||||
|
private Integer isDeleted;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 主店id
|
* 主店id
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -95,5 +95,8 @@ public class ShopStaff implements Serializable {
|
|||||||
@Column(ignore = true)
|
@Column(ignore = true)
|
||||||
private String phone;
|
private String phone;
|
||||||
|
|
||||||
|
@Column(isLogicDelete = true)
|
||||||
|
private Integer isDeleted;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,4 +106,7 @@ public class SysUser implements Serializable {
|
|||||||
@Column(onInsertValue = "now()", onUpdateValue = "now()")
|
@Column(onInsertValue = "now()", onUpdateValue = "now()")
|
||||||
private LocalDateTime updateTime;
|
private LocalDateTime updateTime;
|
||||||
|
|
||||||
|
@Column(isLogicDelete = true)
|
||||||
|
private Integer isDeleted;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user