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 * For a timestamp property that is set to the datetime when the entity was last modified.
010 * <p>
011 * This is effectively an alias for @UpdatedTimestamp and added to hint
012 * towards a better naming convention (WhenCreated, WhenModified).
013 * </p>
014 */
015@Target({ ElementType.FIELD, ElementType.METHOD })
016@Retention(RetentionPolicy.RUNTIME)
017public @interface WhenModified {
018
019}