|
@@ -6,6 +6,7 @@ package kr.co.zumo.app.lifeplus.bean.api;
|
|
|
import com.google.gson.annotations.SerializedName;
|
|
import com.google.gson.annotations.SerializedName;
|
|
|
|
|
|
|
|
import kr.co.zumo.app.lifeplus.bean.JsonBeanBase;
|
|
import kr.co.zumo.app.lifeplus.bean.JsonBeanBase;
|
|
|
|
|
+import kr.co.zumo.app.lifeplus.util.StringUtil;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* CoinInfoBean
|
|
* CoinInfoBean
|
|
@@ -35,7 +36,7 @@ public class CoinInfoBean extends JsonBeanBase {
|
|
|
@SerializedName("purcDate") // 20181010
|
|
@SerializedName("purcDate") // 20181010
|
|
|
private String date;
|
|
private String date;
|
|
|
|
|
|
|
|
- private /*transient*/ int limitDays = 7;
|
|
|
|
|
|
|
+ private transient int limitDays = 7;
|
|
|
|
|
|
|
|
public CoinInfoBean(int limitDays) {
|
|
public CoinInfoBean(int limitDays) {
|
|
|
this.limitDays = limitDays;
|
|
this.limitDays = limitDays;
|
|
@@ -50,6 +51,9 @@ public class CoinInfoBean extends JsonBeanBase {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public String getGoodsAmount() {
|
|
public String getGoodsAmount() {
|
|
|
|
|
+ if (StringUtil.isEmpty(goodsAmount)) {
|
|
|
|
|
+ goodsAmount = "0";
|
|
|
|
|
+ }
|
|
|
return goodsAmount;
|
|
return goodsAmount;
|
|
|
}
|
|
}
|
|
|
|
|
|