Package io.micronaut.data.annotation
Annotation Type DateUpdated
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) @Documented @AutoPopulated public @interface DateUpdated
Can be applied to date type to indicate the property should be populated when it was last updated.- Since:
- 1.0
- Author:
- graemerocher
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
NAME
The date created name.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.time.temporal.ChronoUnit
truncatedTo
Allows to truncate the auto set date value.
-