package com.newvideo.domain.news;
|
|
import com.google.gson.annotations.Expose;
|
|
public class NewsImage {
|
private String id;
|
private News news;
|
@Expose
|
private String url;
|
private String createtime;
|
@Expose
|
private int type;// 1-封面
|
@Expose
|
private String imgtype;// 图片类型
|
|
public String getImgtype() {
|
return imgtype;
|
}
|
|
public void setImgtype(String imgtype) {
|
this.imgtype = imgtype;
|
}
|
|
public NewsImage() {
|
}
|
|
public NewsImage(String id) {
|
this.id = id;
|
}
|
|
public NewsImage(News news, String url, String createtime, int type) {
|
super();
|
this.news = news;
|
this.url = url;
|
this.createtime = createtime;
|
this.type = type;
|
}
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public News getNews() {
|
return news;
|
}
|
|
public void setNews(News news) {
|
this.news = news;
|
}
|
|
public String getUrl() {
|
return url;
|
}
|
|
public void setUrl(String url) {
|
this.url = url;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
}
|