@Relationship(type = "contains") is not mapping the values

Hi
my DTO looks like below:

CompileStatic
RelationshipProperties
class Contains implements GraphRelationship {
Id
GeneratedValue
Long id

Contains() {
// Keep OGM Happy
}

Contains(GraphNode mappingGroup, GraphNode mapping) {
this.startEntity = mappingGroup
this.endEntity = mapping
}
GraphNode startEntity

TargetNode
GraphNode endEntity
}

I have created a Test data with contains relationship
while debugging i am able to see values with neo4j query
But this values are not get mapped to this Dto