Package io.micronaut.data.annotation
Annotation Type DateCreated
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) @Documented @AutoPopulated(updateable=false) public @interface DateCreatedCan 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.StringNAMEThe annotation name.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.time.temporal.ChronoUnittruncatedToAllows to truncate the auto set date value.
-