@java.lang.annotation.Retention(RetentionPolicy.RUNTIME)
@java.lang.annotation.Target({ElementType.FIELD})
public @interface AutoTimestamp
A property annotation used to apply auto-timestamping on a field upon gorm insert and update events
| Type | Name and Description |
|---|---|
AutoTimestamp.EventType |
valueWhen to apply auto-timestamping
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
When to apply auto-timestamping