|
@@ -5,6 +5,7 @@ import com.diagbot.entity.node.base.BaseNode;
|
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
|
import org.neo4j.ogm.annotation.NodeEntity;
|
|
|
+import org.neo4j.ogm.annotation.Property;
|
|
|
import org.neo4j.ogm.annotation.Relationship;
|
|
|
|
|
|
import java.util.HashSet;
|
|
@@ -15,6 +16,8 @@ import java.util.Set;
|
|
|
@NodeEntity(label = "药物过敏原")
|
|
|
public class MedAllergen extends BaseNode {
|
|
|
|
|
|
+ @Property(name = "药品类型")
|
|
|
+ private String medtype;
|
|
|
|
|
|
@Relationship(type = "辅助检查名称禁忌药物过敏原", direction = Relationship.INCOMING)
|
|
|
private Set<Pacs> pacss = new HashSet<>();
|