public enum LogicDeleteStrategy extends Enum<LogicDeleteStrategy>
逻辑删除策略
| Enum Constant and Description |
|---|
FIXED_VALUE
固定值策略,notDeleteValue和deleteValue生效
|
ID_FILL
删除时主键填充逻辑删除字段策略
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static LogicDeleteStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogicDeleteStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogicDeleteStrategy FIXED_VALUE
public static final LogicDeleteStrategy ID_FILL
public static LogicDeleteStrategy[] values()
for (LogicDeleteStrategy c : LogicDeleteStrategy.values()) System.out.println(c);
public static LogicDeleteStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
Copyright © 2023. All Rights Reserved.