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 property on a @Draftable bean that is set to null on the 'draft bean' on publish.
010 * <p>
011 * This is expected to be put on properties that get 'reset' or 'cleared' after a publish.
012 * These properties might represent a publish comment or publish timestamp.
013 * </p>
014 */
015@Retention(RetentionPolicy.RUNTIME)
016@Target(ElementType.FIELD)
017public @interface DraftReset {
018
019}