All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebean.annotation.WhenModified Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * For a timestamp property that is set to the datetime when the entity was last modified.
 * 

* This is effectively an alias for @UpdatedTimestamp and added to hint * towards a better naming convention (WhenCreated, WhenModified). *

*/ @Target({ ElementType.FIELD, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) public @interface WhenModified { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy