Annotation Type SoftDelete
-
@Target(TYPE) @Retention(RUNTIME) public @interface SoftDelete
Extension annotation allowing for specifying a class as using soft delete, meaning that it will have a surrogate column in its table storing whether it is deleted (rather than deleting it).
-
-
Element Detail
-
column
String column
Name of the soft delete flag column in the table for this class.- Returns:
- The soft delete column name
- Default:
- "DELETED"
-
-