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 * Marks a boolean property on a @Draftable bean that only exists on the 'draft' table 010 * and is used to detect when a draft has unpublished changes. 011 * <p> 012 * This property will automatically have it's value set to true when a draft is saved and 013 * automatically have it's value set to false when the bean is published. 014 * </p> 015 */ 016@Retention(RetentionPolicy.RUNTIME) 017@Target(ElementType.FIELD) 018public @interface DraftDirty { 019 020}