Annotation Interface DeletedDate


@Retention(RUNTIME) @Target(FIELD) public @interface DeletedDate
Makes entity soft-delete when placed on field. Marked field will be used to store deleted date. Entity considered as deleted if marked field is not null.

Only one field of a class can have this annotation.