001package io.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 * Deprecated migrate to <code>@WhenModified</code>. 010 * <p> 011 * For a timestamp property that is set to the datetime when the entity was last 012 * updated. 013 * <p> 014 * This is effectively an alias for @WhenModified which was added as it hints 015 * towards a better naming convention (WhenCreated, WhenModified). 016 * </p> 017 */ 018@Deprecated 019@Target({ElementType.FIELD}) 020@Retention(RetentionPolicy.RUNTIME) 021public @interface UpdatedTimestamp { 022 023}