110 lines
1.6 KiB
Java
110 lines
1.6 KiB
Java
package com.gh.gamecenter.entity;
|
|
|
|
import com.google.gson.annotations.SerializedName;
|
|
|
|
public class NewsEntity {
|
|
|
|
@SerializedName("_id")
|
|
private String id;
|
|
|
|
private String type;
|
|
|
|
private String title;
|
|
|
|
@SerializedName("time")
|
|
private long publishOn;
|
|
|
|
private String thumb;
|
|
|
|
private ThumbnailEntity thumbnail;
|
|
|
|
private String intro;
|
|
|
|
private int views;
|
|
|
|
private String link;
|
|
|
|
@SerializedName("game_name")
|
|
private String gameName;
|
|
|
|
public int getViews() {
|
|
return views;
|
|
}
|
|
|
|
public void setViews(int views) {
|
|
this.views = views;
|
|
}
|
|
|
|
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 getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public long getPublishOn() {
|
|
return publishOn;
|
|
}
|
|
|
|
public void setPublishOn(long publishOn) {
|
|
this.publishOn = publishOn;
|
|
}
|
|
|
|
public String getThumb() {
|
|
return thumb;
|
|
}
|
|
|
|
public void setThumb(String thumb) {
|
|
this.thumb = thumb;
|
|
}
|
|
|
|
public String getIntro() {
|
|
return intro;
|
|
}
|
|
|
|
public void setIntro(String intro) {
|
|
this.intro = intro;
|
|
}
|
|
|
|
public ThumbnailEntity getThumbnail() {
|
|
return thumbnail;
|
|
}
|
|
|
|
public void setThumbnail(ThumbnailEntity thumbnail) {
|
|
this.thumbnail = thumbnail;
|
|
}
|
|
|
|
public String getLink() {
|
|
return link;
|
|
}
|
|
|
|
public void setLink(String link) {
|
|
this.link = link;
|
|
}
|
|
|
|
public String getGameName() {
|
|
return gameName;
|
|
}
|
|
|
|
public void setGameName(String gameName) {
|
|
this.gameName = gameName;
|
|
}
|
|
}
|