Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RelationshipEntity(type = "SEGMENT")
- public class SegmentGraphRelationship {
- @GraphId
- private Long graphId;
- @StartNode
- private AbstractGraphNode departureNode;
- @EndNode
- private AbstractGraphNode arrivalNode;
- @Index
- private Long itineraryId;
- @Index
- private Long segmentId;
- @Index
- private Long transportPlanId;
- private String type;
- @Convert(DateConverter.class)
- private OffsetDateTime departureDate;
- @Convert(DateConverter.class)
- private OffsetDateTime arrivalDate;
- //Emtpy constructor and get/set
- }
Add Comment
Please, Sign In to add comment