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;
|
|
import java.util.List;
|
|
public class RecommendHot implements Parcelable {
|
@Expose
|
String picture;
|
@Expose
|
JumpDetail jumpDetail;
|
@Expose
|
JSONObject params;
|
@Expose
|
JumpDetail jumpResult;
|
@Expose
|
List<HotKey> keyList;
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public JumpDetail getJumpDetail() {
|
return jumpDetail;
|
}
|
|
public void setJumpDetail(JumpDetail jumpDetail) {
|
this.jumpDetail = jumpDetail;
|
}
|
|
public JumpDetail getJumpResult() {
|
return jumpResult;
|
}
|
|
public void setJumpResult(JumpDetail jumpResult) {
|
this.jumpResult = jumpResult;
|
}
|
|
public List<HotKey> getKeyList() {
|
return keyList;
|
}
|
|
public void setKeyList(List<HotKey> keyList) {
|
this.keyList = keyList;
|
}
|
|
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.picture);
|
dest.writeSerializable(this.jumpDetail);
|
dest.writeSerializable(this.params);
|
dest.writeSerializable(this.jumpResult);
|
dest.writeTypedList(this.keyList);
|
}
|
|
public RecommendHot() {
|
}
|
|
protected RecommendHot(Parcel in) {
|
this.picture = in.readString();
|
this.jumpDetail = (JumpDetail) in.readSerializable();
|
this.params = (JSONObject)in.readSerializable();
|
this.jumpResult = (JumpDetail) in.readSerializable();
|
this.keyList = in.createTypedArrayList(HotKey.CREATOR);
|
}
|
|
public static final Creator<RecommendHot> CREATOR = new Creator<RecommendHot>() {
|
@Override
|
public RecommendHot createFromParcel(Parcel source) {
|
return new RecommendHot(source);
|
}
|
|
@Override
|
public RecommendHot[] newArray(int size) {
|
return new RecommendHot[size];
|
}
|
};
|
}
|