mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-02-06 08:51:58 +08:00
完成简单入出库功能
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.ruoyi.common.core.web.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
@@ -33,6 +35,16 @@ public class ExtBaseEntity extends BaseEntity {
|
||||
*/
|
||||
private Integer updateCount;
|
||||
|
||||
/**
|
||||
* 是否已逻辑删除
|
||||
*
|
||||
* @return true:已删除;false:未删除
|
||||
*/
|
||||
@JsonIgnore
|
||||
public boolean isLogicDeleted() {
|
||||
return deleteFlag != null && deleteFlag == DELETED;
|
||||
}
|
||||
|
||||
public Integer getDeleteFlag() {
|
||||
return deleteFlag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user