@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Inherited @API(status=STABLE, since="6.0") public @interface RelationshipProperties
Node
. It must however have exactly one field
of type `Long` annotated with `@Id @GeneratedValue` such as this:
@RelationshipProperties public class Roles { @Id @GeneratedValue private Long id; @TargetNode private final Person person; // Your properties }
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.