mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
20 lines
574 B
Java
20 lines
574 B
Java
package com.avaje.ebean.annotation;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* Marks a property on a @Draftable bean that only exists on the 'draft' and not the 'live' table.
|
|
* <p>
|
|
* Typically this would be used on a property that is used as part of application 'workflow' such as
|
|
* a publish workflow status or when publish timestamp.
|
|
* </p>
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target(ElementType.FIELD)
|
|
public @interface DraftOnly {
|
|
|
|
}
|