|
@@ -7,6 +7,7 @@ import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
|
import org.neo4j.ogm.annotation.Labels;
|
|
|
import org.neo4j.ogm.annotation.NodeEntity;
|
|
|
+import org.neo4j.ogm.annotation.Property;
|
|
|
import org.neo4j.ogm.annotation.Relationship;
|
|
|
|
|
|
import java.io.Serializable;
|
|
@@ -18,6 +19,9 @@ import java.util.Set;
|
|
|
@NodeEntity(label = "手术和操作")
|
|
|
public class Operation extends BaseNode {
|
|
|
|
|
|
+ @Property(name = "高危级别")
|
|
|
+ private String risklevel;
|
|
|
+
|
|
|
@Relationship(type="疾病相关手术和操作", direction = Relationship.INCOMING)
|
|
|
private Set<Disease> diseases;
|
|
|
|