You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
715 B
Java

package com.supervision.neo4j.domain;
import lombok.Data;
@Data
public class Rel {
private Long id;
private String source;
private Long sourceId;
private String name;
private String target;
private Long targetId;
public Rel() {
}
public Rel(Long sourceId, String name, Long targetId) {
this.sourceId = sourceId;
this.name = name;
this.targetId = targetId;
}
public Rel(Long id, String source, Long sourceId, String name, String target, Long targetId) {
this.id = id;
this.source = source;
this.sourceId = sourceId;
this.name = name;
this.target = target;
this.targetId = targetId;
}
}