Package io.micronaut.data.annotation
Annotation Type DateCreated
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) @Documented @AutoPopulated(updateable=false) public @interface DateCreated
Can be applied to date type to indicate the property should be populated when it is first inserted.- Since:
- 1.0
- Author:
- graemerocher
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
NAME
The annotation 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.
-