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 010 * updated. 011 * <p> 012 * This is effectively an alias for @WhenModified which was added as it hints 013 * towards a better naming convention (WhenCreated, WhenModified). 014 * </p> 015 */ 016@Target({ ElementType.FIELD, ElementType.METHOD }) 017@Retention(RetentionPolicy.RUNTIME) 018public @interface UpdatedTimestamp { 019 020}