|
|
@@ -45,9 +45,9 @@ public class CoinInfoRequestBean extends RequestBean {
|
|
|
public @interface Period {}
|
|
|
|
|
|
public static final String FLAG_NONE = "";
|
|
|
- public static final String FLAG_ALL = "A";
|
|
|
- public static final String FLAG_PLUS = "+";
|
|
|
- public static final String FLAG_MINUS = "-";
|
|
|
+ public static final String FLAG_ALL = "전체";
|
|
|
+ public static final String FLAG_PLUS = "적립";
|
|
|
+ public static final String FLAG_MINUS = "사용";
|
|
|
|
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
|
@StringDef({
|
|
|
@@ -55,17 +55,17 @@ public class CoinInfoRequestBean extends RequestBean {
|
|
|
})
|
|
|
public @interface Flag {}
|
|
|
|
|
|
- @SerializedName("start")
|
|
|
- private String periodStart;
|
|
|
- @SerializedName("end")
|
|
|
- private String periodEnd;
|
|
|
+ @SerializedName("srchFromDt")
|
|
|
+ private String periodFrom;
|
|
|
+ @SerializedName("srchToDt")
|
|
|
+ private String periodTo;
|
|
|
|
|
|
- @SerializedName("flag")
|
|
|
+ @SerializedName("acUseDvsn")
|
|
|
private String flag; // 전체/적립/사용
|
|
|
|
|
|
- public CoinInfoRequestBean(String periodStart, String periodEnd, @Flag String flag) {
|
|
|
- this.periodStart = periodStart;
|
|
|
- this.periodEnd = periodEnd;
|
|
|
+ public CoinInfoRequestBean(String periodFrom, String periodTo, @Flag String flag) {
|
|
|
+ this.periodFrom = periodFrom;
|
|
|
+ this.periodTo = periodTo;
|
|
|
this.flag = flag;
|
|
|
}
|
|
|
|
|
|
@@ -73,8 +73,8 @@ public class CoinInfoRequestBean extends RequestBean {
|
|
|
* 코인 값만 필요할 경우
|
|
|
*/
|
|
|
public CoinInfoRequestBean() {
|
|
|
- this.periodStart = "";
|
|
|
- this.periodEnd = "";
|
|
|
+ this.periodFrom = "";
|
|
|
+ this.periodTo = "";
|
|
|
this.flag = FLAG_NONE;
|
|
|
}
|
|
|
}
|