package com.yeshi.buwan.domain;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
|
import com.google.gson.annotations.Expose;
|
import javax.persistence.Entity;
|
import javax.persistence.ManyToOne;
|
import javax.persistence.OneToMany;
|
|
/**
|
* 视频的详细信息
|
*
|
* @author Administrator
|
*
|
*/
|
@Entity
|
public class VideoInfoDetail {
|
@Expose
|
private String id;
|
@Expose
|
private String picture;
|
@Expose
|
private String name;
|
@Expose
|
private String introduction;
|
@Expose
|
private String duration;
|
@Expose
|
private String mainActor;
|
@Expose
|
private String year;
|
@Expose
|
private VideoType videoType;
|
private String orderby;
|
@Expose
|
private long thirdType = 0;
|
|
private AdminInfo admin;
|
private String beizhu;
|
@Expose
|
private String qulity;
|
@Expose
|
private String createtime;
|
@Expose
|
private String score;
|
@Expose
|
private String watchCount;
|
private String show;
|
@Expose
|
private String share;
|
@Expose
|
private boolean canSave;// 0-不能缓存 1-能缓存
|
@Expose
|
private List<VideoResource> resourceList;
|
@Expose
|
private String playPicture;
|
@Expose
|
private int showType;
|
@Expose
|
private String vpicture;
|
@Expose
|
private String hpicture;
|
@Expose
|
private long commentCount;
|
@Expose
|
private String updatetime;
|
@Expose
|
private String area;
|
@Expose
|
private Integer pageSize;
|
|
public Integer getPageSize() {
|
return pageSize;
|
}
|
|
public void setPageSize(Integer pageSize) {
|
this.pageSize = pageSize;
|
}
|
|
public String getArea() {
|
return area;
|
}
|
|
public void setArea(String area) {
|
this.area = area;
|
}
|
|
public String getUpdatetime() {
|
return updatetime;
|
}
|
|
public void setUpdatetime(String updatetime) {
|
this.updatetime = updatetime;
|
}
|
|
public long getCommentCount() {
|
return commentCount;
|
}
|
|
public void setCommentCount(long commentCount) {
|
this.commentCount = commentCount;
|
}
|
|
public int getShowType() {
|
return showType;
|
}
|
|
public void setShowType(int showType) {
|
this.showType = showType;
|
}
|
|
public String getVpicture() {
|
return vpicture;
|
}
|
|
public void setVpicture(String vpicture) {
|
this.vpicture = vpicture;
|
}
|
|
public String getHpicture() {
|
return hpicture;
|
}
|
|
public void setHpicture(String hpicture) {
|
this.hpicture = hpicture;
|
}
|
|
public String getPlayPicture() {
|
return playPicture;
|
}
|
|
public void setPlayPicture(String playPicture) {
|
this.playPicture = playPicture;
|
}
|
|
public List<VideoResource> getResourceList() {
|
return resourceList;
|
}
|
|
public void setResourceList(List<VideoResource> resourceList) {
|
this.resourceList = resourceList;
|
}
|
|
public boolean isCanSave() {
|
return canSave;
|
}
|
|
public void setCanSave(boolean canSave) {
|
this.canSave = canSave;
|
}
|
|
public String getShare() {
|
return share;
|
}
|
|
public void setShare(String share) {
|
this.share = share;
|
}
|
|
@Expose
|
private String nowNumber;// 更新到了第几集
|
@Expose
|
private String finish;// 是否更新完了?0-没有 1-更新完了
|
private String baseurl;// 专辑的地址
|
|
public String getBaseurl() {
|
return baseurl;
|
}
|
|
public void setBaseurl(String baseurl) {
|
this.baseurl = baseurl;
|
}
|
|
public String getNowNumber() {
|
return nowNumber;
|
}
|
|
public void setNowNumber(String nowNumber) {
|
this.nowNumber = nowNumber;
|
}
|
|
public String getFinish() {
|
return finish;
|
}
|
|
public void setFinish(String finish) {
|
this.finish = finish;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public long getThirdType() {
|
return thirdType;
|
}
|
|
public void setThirdType(long thirdType) {
|
this.thirdType = thirdType;
|
}
|
|
public String getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(String orderby) {
|
this.orderby = orderby;
|
}
|
|
public String getMainActor() {
|
return mainActor;
|
}
|
|
public void setMainActor(String mainActor) {
|
this.mainActor = mainActor;
|
}
|
|
@ManyToOne
|
public VideoType getVideoType() {
|
return videoType;
|
}
|
|
public void setVideoType(VideoType videoType) {
|
this.videoType = videoType;
|
}
|
|
public String getWatchCount() {
|
return watchCount;
|
}
|
|
public void setWatchCount(String watchCount) {
|
this.watchCount = watchCount;
|
}
|
|
public String getShow() {
|
return show;
|
}
|
|
public void setShow(String show) {
|
this.show = show;
|
}
|
|
@Expose
|
private List<VideoDetailInfo> videoDetailList = new ArrayList<VideoDetailInfo>();
|
|
@OneToMany
|
public List<VideoDetailInfo> getVideoDetailList() {
|
return videoDetailList;
|
}
|
|
public void setVideoDetailList(List<VideoDetailInfo> videoDetailList) {
|
this.videoDetailList = videoDetailList;
|
}
|
|
public String getScore() {
|
return score;
|
}
|
|
public void setScore(String score) {
|
this.score = score;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getIntroduction() {
|
return introduction;
|
}
|
|
public void setIntroduction(String introduction) {
|
this.introduction = introduction;
|
}
|
|
public String getDuration() {
|
return duration;
|
}
|
|
public void setDuration(String duration) {
|
this.duration = duration;
|
}
|
|
public String getYear() {
|
return year;
|
}
|
|
public void setYear(String year) {
|
this.year = year;
|
}
|
|
@ManyToOne
|
public AdminInfo getAdmin() {
|
return admin;
|
}
|
|
public void setAdmin(AdminInfo admin) {
|
this.admin = admin;
|
}
|
|
public String getBeizhu() {
|
return beizhu;
|
}
|
|
public void setBeizhu(String beizhu) {
|
this.beizhu = beizhu;
|
}
|
|
public String getQulity() {
|
return qulity;
|
}
|
|
public void setQulity(String qulity) {
|
this.qulity = qulity;
|
}
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
}
|