提交项目
This commit is contained in:
117
app/src/main/java/com/gh/gamecenter/entity/GameEntity.java
Normal file
117
app/src/main/java/com/gh/gamecenter/entity/GameEntity.java
Normal file
@ -0,0 +1,117 @@
|
||||
package com.gh.gamecenter.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import android.support.v4.util.ArrayMap;
|
||||
|
||||
import com.gh.download.DownloadEntry;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public class GameEntity {
|
||||
|
||||
@SerializedName("_id")
|
||||
private String id;
|
||||
|
||||
private String icon;
|
||||
|
||||
private String name;
|
||||
|
||||
private String brief;
|
||||
|
||||
private ArrayList<String> tag;
|
||||
|
||||
private ArrayList<ApkEntity> apk;
|
||||
|
||||
private String slide;
|
||||
|
||||
private TestEntity test;
|
||||
|
||||
@SerializedName("d_button_add_word")
|
||||
private String downloadAddWord;
|
||||
|
||||
private ArrayMap<String, DownloadEntry> entryMap;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getBrief() {
|
||||
return brief;
|
||||
}
|
||||
|
||||
public void setBrief(String brief) {
|
||||
this.brief = brief;
|
||||
}
|
||||
|
||||
public ArrayList<String> getTag() {
|
||||
return tag;
|
||||
}
|
||||
|
||||
public void setTag(ArrayList<String> tag) {
|
||||
this.tag = tag;
|
||||
}
|
||||
|
||||
public ArrayList<ApkEntity> getApk() {
|
||||
if (apk == null) {
|
||||
apk = new ArrayList<ApkEntity>();
|
||||
}
|
||||
return apk;
|
||||
}
|
||||
|
||||
public void setApk(ArrayList<ApkEntity> apk) {
|
||||
this.apk = apk;
|
||||
}
|
||||
|
||||
public String getSlide() {
|
||||
return slide;
|
||||
}
|
||||
|
||||
public void setSlide(String slide) {
|
||||
this.slide = slide;
|
||||
}
|
||||
|
||||
public TestEntity getTest() {
|
||||
return test;
|
||||
}
|
||||
|
||||
public void setTest(TestEntity test) {
|
||||
this.test = test;
|
||||
}
|
||||
|
||||
public ArrayMap<String, DownloadEntry> getEntryMap() {
|
||||
return entryMap;
|
||||
}
|
||||
|
||||
public void setEntryMap(ArrayMap<String, DownloadEntry> entryMap) {
|
||||
this.entryMap = entryMap;
|
||||
}
|
||||
|
||||
public String getDownloadAddWord() {
|
||||
return downloadAddWord;
|
||||
}
|
||||
|
||||
public void setDownloadAddWord(String downloadAddWord) {
|
||||
this.downloadAddWord = downloadAddWord;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user