mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 18:15:56 +08:00
Pre Merge pull request !209 from HuangXin/N/A
This commit is contained in:
commit
0c28f1003e
@ -77,5 +77,15 @@ public interface Constants {
|
||||
*/
|
||||
String TOKEN = "token";
|
||||
|
||||
/**
|
||||
* 逻辑删除:正常标记(0:正常;2:删除;)
|
||||
*/
|
||||
String DEL_FLAG_NORMAL = "0";
|
||||
|
||||
/**
|
||||
* 逻辑删除:删除标记(0:正常;2:删除;)
|
||||
*/
|
||||
String DEL_FLAG_DELETE = "2";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ package com.ruoyi.common.core.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.ruoyi.common.constant.Constants;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@ -56,4 +57,16 @@ public class BaseEntity implements Serializable {
|
||||
@TableField(exist = false)
|
||||
private Map<String, Object> params = new HashMap<>();
|
||||
|
||||
/**
|
||||
* 逻辑删除:正常标记(0:正常;2:删除;)
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
public static final String DEL_FLAG_NORMAL = Constants.DEL_FLAG_NORMAL;
|
||||
|
||||
/**
|
||||
* 逻辑删除:删除标记(0:正常;2:删除;)
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
public static final String DEL_FLAG_DELETE = Constants.DEL_FLAG_DELETE;
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user