001package io.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 * Marks a property on a @Draftable bean that only exists on the 'draft' and not the 'live' table.
010 * <p>
011 * Typically this would be used on a property that is used as part of application 'workflow' such as
012 * a publish workflow status or when publish timestamp.
013 * </p>
014 */
015@Retention(RetentionPolicy.RUNTIME)
016@Target(ElementType.FIELD)
017public @interface DraftOnly {
018
019}