|
@@ -0,0 +1,21 @@
|
|
|
+package org.diagbot.entity.relation.base;
|
|
|
+
|
|
|
+import lombok.Getter;
|
|
|
+import lombok.Setter;
|
|
|
+import org.neo4j.ogm.annotation.GeneratedValue;
|
|
|
+import org.neo4j.ogm.annotation.Id;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Description: 关系基础类
|
|
|
+ * @author: gaodm
|
|
|
+ * @time: 2019/3/27 15:31
|
|
|
+ */
|
|
|
+@Getter
|
|
|
+@Setter
|
|
|
+public class BaseRelation {
|
|
|
+ @Id
|
|
|
+ @GeneratedValue
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ private String name;
|
|
|
+}
|