Package io.micronaut.data.annotation
Annotation Type Id
-
@Retention(RUNTIME) @Target({METHOD,FIELD,PARAMETER,ANNOTATION_TYPE}) @Documented @Inherited public @interface Id
Designates a field or method that is annotated with the Id of an entity. Typically not used directly but instead mapped to via annotation such asjavax.persistence.Id
.- Since:
- 1.0
- Author:
- graemerocher