admin
2021-05-15 2aead6275fdd1bbbd778abc0e85663a2578fab06
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
package com.tejia.lijin.app.entity;
 
import android.os.Parcel;
import android.os.Parcelable;
 
import com.google.gson.annotations.Expose;
 
/**
 * 金币兑换并序列化
 */
public class GoldExchange implements Parcelable {
 
    @Expose
    private String id;// 兑换id
    @Expose
    private String name; // 名称
    @Expose
    private String picture;// 图片
    @Expose
    private String goldCoin;// 兑换金币
    @Expose
    private String tip;// 提示语
    @Expose
    private String type; // 类型
    @Expose
    private String btnName;// 按钮名称
    @Expose
    private String ruleLink; // 规则链接
    @Expose
    private String progress;// 兑换进度
    @Expose
    private boolean needJump;
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getPicture() {
        return picture;
    }
 
    public void setPicture(String picture) {
        this.picture = picture;
    }
 
    public String getGoldCoin() {
        return goldCoin;
    }
 
    public void setGoldCoin(String goldCoin) {
        this.goldCoin = goldCoin;
    }
 
    public String getTip() {
        return tip;
    }
 
    public void setTip(String tip) {
        this.tip = tip;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getBtnName() {
        return btnName;
    }
 
    public void setBtnName(String btnName) {
        this.btnName = btnName;
    }
 
    public String getRuleLink() {
        return ruleLink;
    }
 
    public void setRuleLink(String ruleLink) {
        this.ruleLink = ruleLink;
    }
 
    public String getProgress() {
        return progress;
    }
 
    public void setProgress(String progress) {
        this.progress = progress;
    }
 
    public boolean isNeedJump() {
        return needJump;
    }
 
    public void setNeedJump(boolean needJump) {
        this.needJump = needJump;
    }
 
    @Override
    public int describeContents() {
        return 0;
    }
 
    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(name);
        dest.writeString(picture);
        dest.writeString(goldCoin);
        dest.writeString(tip);
        dest.writeString(type);
        dest.writeString(btnName);
        dest.writeString(ruleLink);
        dest.writeString(progress);
    }
 
    public static final Parcelable.Creator<GoldExchange> CREATOR =
            new Parcelable.Creator<GoldExchange>() {
                @Override
                public GoldExchange createFromParcel(Parcel source) {
                    return new GoldExchange(source);
                }
 
                @Override
                public GoldExchange[] newArray(int size) {
                    return new GoldExchange[size];
                }
            };
 
    protected GoldExchange(Parcel source) {
        id = source.readString();
        name = source.readString();
        picture = source.readString();
        goldCoin = source.readString();
        tip = source.readString();
        type = source.readString();
        btnName = source.readString();
        ruleLink = source.readString();
        progress = source.readString();
    }
}