001package com.avaje.ebean.annotation;
002
003import java.lang.annotation.ElementType;
004import java.lang.annotation.Retention;
005import java.lang.annotation.RetentionPolicy;
006import java.lang.annotation.Target;
007
008/**
009 * Used to indicate a property on an entity bean used to control 'soft delete'
010 * (also known as 'logical delete').
011 * <p>
012 * The property should be of type boolean.
013 * </p>
014 * <pre>{@code
015 *
016 * @SoftDelete
017 * boolean deleted;
018 *
019 * }</pre>
020 */
021@Retention(RetentionPolicy.RUNTIME)
022@Target(ElementType.FIELD)
023public @interface SoftDelete {
024
025}