package com.meetdilse.store.data;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class GetVip {
@SerializedName("uid")
private int uId;
@SerializedName("endtime")
private int endTime;
@SerializedName("free_private_chat_num")
private int freePrivateChatNum;
@SerializedName("free_video_num")
private int freeVideoNum;
@SerializedName("free_photo_num")
private int freePhotoNum;
@SerializedName("isvip")
private int isVip;
@SerializedName("list")
private List<Product> products;
public int getuId() {
return uId;
}
public int getEndTime() {
return endTime;
}
public int getFreePrivateChatNum() {
return freePrivateChatNum;
}
public int getFreeVideoNum() {
return freeVideoNum;
}
public int getFreePhotoNum() {
return freePhotoNum;
}
public int getIsVip() {
return isVip;
}
public boolean isVip() {
return isVip == 1;
}
public List<Product> getProducts() {
return products;
}
@Override
public String toString() {
return "BuyVip{" +
"uid=" + uId +
", endtime=" + endTime +
", free_private_chat_num=" + freePrivateChatNum +
", free_video_num=" + freeVideoNum +
", free_photo_num=" + freePhotoNum +
", isvip=" + isVip +
", list=" + products +
'}';
}
public static class Product {
@SerializedName("id")
private int id;
@SerializedName("name")
private String name;
@SerializedName("free_private_chat_num")
private int freePrivateChatNum;
@SerializedName("free_video_num")
private int freeVideoNum;
@SerializedName("free_photo_num")
private int freePhotoNum;
@SerializedName("charge_id")
private int chargeId;
@SerializedName("charge_type")
private String chargeType;
@SerializedName("product_id")
private String productId;
@SerializedName("coin")
private int coin;
@SerializedName("original_coin")
private int originalCoin;
@SerializedName("coin_money")
private String coinMoney;
@SerializedName("original_price")
private String originalPrice;
@SerializedName("limit_title")
private String limitTitle;
@SerializedName("day")
private int day;
@SerializedName("coin_money_text")
private String coinMoneyText;
@SerializedName("original_price_text")
private String originalPriceText;
public int getId() {
return id;
}
public String getName() {
return name;
}
public int getFreePrivateChatNum() {
return freePrivateChatNum;
}
public int getFreeVideoNum() {
return freeVideoNum;
}
public int getFreePhotoNum() {
return freePhotoNum;
}
public int getChargeId() {
return chargeId;
}
public String getChargeType() {
return chargeType;
}
public String getProductId() {
return productId;
}
public int getCoin() {
return coin;
}
public int getOriginalCoin() {
return originalCoin;
}
public String getCoinMoney() {
return coinMoney;
}
public String getOriginalPrice() {
return originalPrice;
}
public String getLimitTitle() {
return limitTitle;
}
public int getDay() {
return day;
}
public String getCoinMoneyText() {
return coinMoneyText;
}
public String getOriginalPriceText() {
return originalPriceText;
}
@Override
public String toString() {
return "ListBean{" +
"id=" + id +
", name='" + name + '\'' +
", free_private_chat_num=" + freePrivateChatNum +
", free_video_num=" + freeVideoNum +
", free_photo_num=" + freePhotoNum +
", charge_id=" + chargeId +
", charge_type='" + chargeType + '\'' +
", product_id='" + productId + '\'' +
", coin=" + coin +
", original_coin=" + originalCoin +
", coin_money='" + coinMoney + '\'' +
", original_price='" + originalPrice + '\'' +
", limit_title='" + limitTitle + '\'' +
", day=" + day +
", coin_money_text='" + coinMoneyText + '\'' +
", original_price_text='" + originalPriceText + '\'' +
'}';
}
}
}
范型用第二层GetVip.Product
|