admin
2021-05-28 5965c01b38a2e83cecd7616daa11185fc2499303
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
package com.tejia.lijin.app.entity;
 
import android.os.Parcel;
import android.os.Parcelable;
 
import com.alibaba.fastjson.JSONObject;
import com.google.gson.annotations.Expose;
 
public class HotKey implements Parcelable {
    @Expose
    String name;
    @Expose
    JSONObject params;
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public JSONObject getParams() {
        return params;
    }
 
    public void setParams(JSONObject params) {
        this.params = params;
    }
 
 
    @Override
    public int describeContents() {
        return 0;
    }
 
    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.name);
        dest.writeSerializable(this.params);
    }
 
    public HotKey() {
    }
 
    protected HotKey(Parcel in) {
        this.name = in.readString();
        this.params = (JSONObject) in.readSerializable();
    }
 
    public static final Creator<HotKey> CREATOR = new Creator<HotKey>() {
        @Override
        public HotKey createFromParcel(Parcel source) {
            return new HotKey(source);
        }
 
        @Override
        public HotKey[] newArray(int size) {
            return new HotKey[size];
        }
    };
}