package foodrev.org.foodrev.domain.models.dispatchModels;

/**
 * Created by dastechlabs on 3/18/17.
 */

public class DispatchDonor {
    public String donorUid;
}

@@ -56,110 +56,1025 @@
 s;%0A%0A
-/**%0A * Created by dastechlabs on 3/18/17.%0A */%0A%0Apublic class DispatchDonor %7B%0A    public String donorUid;
+import com.google.firebase.database.Exclude;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * Created by dastechlabs on 3/18/17.%0A */%0A%0Apublic class DispatchDonor %7B%0A    private String donorName;%0A    private int carsOfFood;%0A    //TODO%0A    //address%0A    //gps%0A    //poc%0A    //etc%0A%0A    public DispatchDonor (String donorName, int carsOfFood)%7B%0A        this.donorName = donorName;%0A        this.carsOfFood = carsOfFood;%0A    %7D%0A%0A    @Exclude%0A    public Map%3CString, Object%3E toMap() %7B%0A        HashMap%3CString,Object%3E result = new HashMap%3C%3E();%0A        result.put(%22donorName%22,this.donorName);%0A        result.put(%22donorCarsOfFood%22,this.carsOfFood);%0A        return result;%0A    %7D%0A%0A    // getters and setters%0A    public String getDonorName() %7B%0A        return donorName;%0A    %7D%0A%0A    public void setDonorName(String donorName) %7B%0A        this.donorName = donorName;%0A    %7D%0A%0A    public int getCarsOfFood() %7B%0A        return carsOfFood;%0A    %7D%0A%0A    public void setCarsOfFood(int carsOfFood) %7B%0A        this.carsOfFood = carsOfFood;%0A    %7D%0A%0A
 %0A%7D%0A

add simple model for DispatchDonor