
package org.missionassetfund.apps.android.models;

import com.parse.ParseClassName;
import com.parse.ParseUser;

@ParseClassName("_User")
public class User extends ParseUser {
    public static final String NAME_KEY = "name";
    public static final String PHONE_NUMBER_KEY = "phoneNumber";
    public static final String LIQUID_ASSETS_KEY = "liquidAssets";

    public User() {
        super();
    }

    public String getName() {
        return getString(NAME_KEY);
    }

    public void setName(String name) {
        put(NAME_KEY, name);
    }

    public String getPhoneNumber() {
        return getString(PHONE_NUMBER_KEY);
    }

    public void setPhoneNumber(String phoneNumber) {
        put(PHONE_NUMBER_KEY, phoneNumber);
    }
    
    // For now, lets store liquid assets within the user Obj
    public Double getLiquidAssets() {
        return getDouble(LIQUID_ASSETS_KEY);
    }
    
    public void setLiquidAssets(Double liquidAsset) {
        put(LIQUID_ASSETS_KEY, liquidAsset);
    }
}

@@ -320,41 +320,35 @@
 ing 
-LIQUID_ASSETS_KEY = %22liquidAssets
+TOTAL_CASH_KEY = %22totalCash
 %22;%0A%0A
@@ -739,69 +739,8 @@
    %0A
-    // For now, lets store liquid assets within the user Obj%0A
     
@@ -756,28 +756,25 @@
 uble get
-LiquidAssets
+TotalCash
 () %7B%0A   
@@ -795,29 +795,26 @@
 tDouble(
-LIQUID_ASSETS
+TOTAL_CASH
 _KEY);%0A 
@@ -846,20 +846,17 @@
  set
-LiquidAssets
+TotalCash
 (Dou
@@ -890,21 +890,18 @@
 put(
-LIQUID_ASSETS
+TOTAL_CASH
 _KEY

Update User model totalCash property