admin
2021-06-07 01e23be6118d68d38a71d186296d440eadcaa197
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
package com.tejia.lijin.app.entity;
 
import android.os.Parcel;
import android.os.Parcelable;
 
import com.google.gson.annotations.Expose;
 
/**
 * 金币兑换状态提示
 */
public class GoldExchangeState implements Parcelable {
    @Expose
    private String id;//类型
    @Expose
    private String type;//类型
    @Expose
    private String goldCoin;//金币数量
    @Expose
    private String name;//只有红包才会返回
    @Expose
    private String tip; //提示语
    @Expose
    private String inviteCode; //邀请码
    @Expose
    private boolean needJump; //是否需要打开dialog
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getGoldCoin() {
        return goldCoin;
    }
 
    public void setGoldCoin(String goldCoin) {
        this.goldCoin = goldCoin;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getTip() {
        return tip;
    }
 
    public void setTip(String tip) {
        this.tip = tip;
    }
 
    public String getInviteCode() {
        return inviteCode;
    }
 
    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }
 
    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(type);
        dest.writeString(name);
        dest.writeString(goldCoin);
        dest.writeString(tip);
        dest.writeString(inviteCode);
    }
 
    public static final Parcelable.Creator CREATOR = new Creator() {
        @Override
        public Object createFromParcel(Parcel source) {
            return new GoldExchangeState(source);
        }
 
        @Override
        public Object[] newArray(int size) {
            return new Object[size];
        }
    };
 
    protected GoldExchangeState(Parcel source) {
        id = source.readString();
        type = source.readString();
        goldCoin = source.readString();
        name = source.readString();
        tip = source.readString();
        inviteCode = source.readString();
    }
}