package org.pdxfinder.graph.dao;

import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;

/*
 * Created by csaba on 22/05/2018.
 */
@NodeEntity
public class Drug {


    /**
     * @param name                      The name of the drug
     * @param target                    Drug target, ie DNA, EGFR (first target corresponds to the first drug, etc)
     * @param manufacturer              What company manufactured the drug
     */

    @GraphId
    private Long id;

    private String name;
    private String target;
    private String manufacturer;

    public Drug() {
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }
}

@@ -453,16 +453,149 @@
 rug%0A
+     * @param description               A short description of the drug%0A     * @param synonyms                  Synonyms of the drug%0A
      */%0A
 %0A   
@@ -590,16 +590,16 @@
      */%0A
-
 %0A    @Gr
@@ -712,16 +712,79 @@
 turer;%0A%0A
+    private String description;%0A    private String synonyms;%0A%0A%0A
     publ
@@ -1200,24 +1200,24 @@
 facturer) %7B%0A
-
         this
@@ -1252,10 +1252,337 @@
 ;%0A    %7D%0A
+%0A%0A    public String getDescription() %7B%0A        return description;%0A    %7D%0A%0A    public void setDescription(String description) %7B%0A        this.description = description;%0A    %7D%0A%0A    public String getSynonyms() %7B%0A        return synonyms;%0A    %7D%0A%0A    public void setSynonyms(String synonyms) %7B%0A        this.synonyms = synonyms;%0A    %7D%0A
 %7D%0A

Add synonyms and description