| | |
| | | import javax.persistence.Transient; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | import org.springframework.data.annotation.Id; |
| | | |
| | | /** |
| | | * 视频信息 |
| | |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Expose |
| | | // @Field |
| | | private String id; |
| | | |
| | | @Expose |
| | | // @Field |
| | | private String tag; |
| | | |
| | | private String totalNumber;// 所有集数 |
| | | |
| | | @Expose |
| | | private Long createtime; |
| | | |
| | | private String updatetime; |
| | | |
| | | @Expose |
| | | private String picture; |
| | | |
| | | @Expose |
| | | // @Field |
| | | private String name; |
| | | |
| | | @Expose |
| | |
| | | private String duration; |
| | | |
| | | @Expose |
| | | // @Field |
| | | private String mainActor; |
| | | @Expose |
| | | private String year; |
| | | @Expose |
| | | private VideoType videoType; |
| | | private String orderby; |
| | | @Expose |
| | | private String thirdType = "0"; |
| | | |
| | | private AdminInfo admin; |
| | | @Expose |
| | | private String beizhu; |
| | | @Expose |
| | | private String qulity; |
| | | @Expose |
| | | private long createtime; |
| | | |
| | | @Expose |
| | | // @Field |
| | | private String score; |
| | | @Expose |
| | | private String watchCount; |
| | | private String share;// 是否必须分享 |
| | | |
| | | private String show; |
| | | @Expose |
| | | private String watchCount; |
| | | private String orderby; |
| | | @Expose |
| | | private String nowNumber;// 更新到了第几集 |
| | | @Expose |
| | | private String finish;// 是否更新完了?0-没有 1-更新完了 |
| | | private String baseurl;// 专辑的地址c |
| | | |
| | | @Expose |
| | | // @Field |
| | | private String share;// 是否必须分享 |
| | | private String totalNumber;// 所有集数 |
| | | |
| | | @Expose |
| | | // @Field |
| | | private String tag; |
| | | |
| | | @Expose |
| | | // @Field |
| | | private boolean canSave;// 0-不能缓存 1-能缓存 |
| | | @Expose |
| | | private String area;// 地区 |
| | | |
| | | @Expose |
| | | private int commentCount; |
| | | |
| | | // @Field |
| | | private String updatetime; |
| | | private String month; |
| | | private String day; |
| | | |
| | | @Expose |
| | | private List<VideoResource> resourceList; |
| | | private List<VideoType> typeList; |
| | | |
| | | private String area;// 地区 |
| | | private String focus;// 看点 |
| | | private String leafctgs; |
| | | |
| | | private String director; |
| | | private String keyword; |
| | | |
| | | // 内容类型 |
| | | private int contentType; |
| | | @Expose |
| | | private int showType;// 1-长条 2-短条 |
| | | |
| | | @Expose |
| | | private String playPicture; |
| | | |
| | | @Expose |
| | | private String vpicture; |
| | | @Expose |
| | | private String hpicture; |
| | | |
| | | private String latestVpicture; |
| | | private String latestHpicture; |
| | | // 内容类型 |
| | | private Integer contentType; |
| | | @Expose |
| | | private Boolean canSave;// 0-不能缓存 1-能缓存 |
| | | private AdminInfo admin; |
| | | @Expose |
| | | private VideoType videoType; |
| | | @Expose |
| | | private Integer commentCount; |
| | | private Integer latestWatchCount; |
| | | private Integer videocount; |
| | | |
| | | private int latestWatchCount; |
| | | private int videocount; |
| | | |
| | | //非数据库缓存数据 |
| | | @Expose |
| | | private String thirdType = "0"; |
| | | @Expose |
| | | private List<VideoResource> resourceList; |
| | | private List<VideoType> typeList; |
| | | @Expose |
| | | private int showType;// 1-长条 2-短条 |
| | | @Expose |
| | | private String playPicture; |
| | | //0-免费 1-VIP 2-用券 |
| | | //免费类型 |
| | | @Expose |
| | | @Transient |
| | | private int free; |
| | | |
| | | |
| | | //0-普清 1-高清 |
| | | @Expose |
| | | @Transient |
| | | private int definition; |
| | | |
| | | //搜索结果适用 |
| | | @Expose |
| | | private VideoAlbumMoreInfo albumMoreInfo; |
| | | |
| | | //剧集翻页时每一页的大小 |
| | | @Expose |
| | | private Integer pageSize; |
| | | |
| | | |
| | | public Integer getPageSize() { |
| | | return pageSize; |
| | | } |
| | | |
| | | public void setPageSize(Integer pageSize) { |
| | | this.pageSize = pageSize; |
| | | } |
| | | |
| | | @Transient |
| | | private VideoResourceMapExtraInfo videoResourceMapExtraInfo; |
| | |
| | | this.videoResourceMapExtraInfo = videoResourceMapExtraInfo; |
| | | } |
| | | |
| | | public int getVideocount() { |
| | | public VideoAlbumMoreInfo getAlbumMoreInfo() { |
| | | return albumMoreInfo; |
| | | } |
| | | |
| | | public void setAlbumMoreInfo(VideoAlbumMoreInfo albumMoreInfo) { |
| | | this.albumMoreInfo = albumMoreInfo; |
| | | } |
| | | |
| | | public Integer getVideocount() { |
| | | return videocount; |
| | | } |
| | | |
| | | public void setVideocount(int videocount) { |
| | | public void setVideocount(Integer videocount) { |
| | | this.videocount = videocount; |
| | | } |
| | | |
| | | public int getLatestWatchCount() { |
| | | public Integer getLatestWatchCount() { |
| | | return latestWatchCount; |
| | | } |
| | | |
| | | public void setLatestWatchCount(int latestWatchCount) { |
| | | public void setLatestWatchCount(Integer latestWatchCount) { |
| | | this.latestWatchCount = latestWatchCount; |
| | | } |
| | | |
| | |
| | | this.showType = showType; |
| | | } |
| | | |
| | | public int getContentType() { |
| | | public Integer getContentType() { |
| | | return contentType; |
| | | } |
| | | |
| | | public void setContentType(int contentType) { |
| | | public void setContentType(Integer contentType) { |
| | | this.contentType = contentType; |
| | | } |
| | | |
| | |
| | | this.typeList = typeList; |
| | | } |
| | | |
| | | public int getCommentCount() { |
| | | public Integer getCommentCount() { |
| | | return commentCount; |
| | | } |
| | | |
| | | public void setCommentCount(int commentCount) { |
| | | public void setCommentCount(Integer commentCount) { |
| | | this.commentCount = commentCount; |
| | | } |
| | | |
| | |
| | | this.area = area; |
| | | } |
| | | |
| | | private String director; |
| | | |
| | | public String getDirector() { |
| | | return director; |
| | |
| | | return serialVersionUID; |
| | | } |
| | | |
| | | public boolean isCanSave() { |
| | | |
| | | public Boolean getCanSave() { |
| | | return canSave; |
| | | } |
| | | |
| | | public void setCanSave(boolean canSave) { |
| | | public void setCanSave(Boolean canSave) { |
| | | this.canSave = canSave; |
| | | } |
| | | |
| | |
| | | this.qulity = qulity; |
| | | } |
| | | |
| | | public long getCreatetime() { |
| | | public Long getCreatetime() { |
| | | return createtime; |
| | | } |
| | | |
| | | public void setCreatetime(long createtime) { |
| | | public void setCreatetime(Long createtime) { |
| | | this.createtime = createtime; |
| | | } |
| | | |
| | | // 用作分類統計 |
| | | // @Field |
| | | |
| | | private String type; |
| | | |
| | | public String getType() { |
| | |
| | | public void setFree(int free) { |
| | | this.free = free; |
| | | } |
| | | |
| | | |
| | | public int getDefinition() { |
| | | return definition; |
| | | } |
| | | |
| | | public void setDefinition(int definition) { |
| | | this.definition = definition; |
| | | } |
| | | |
| | | public static class VideoAlbumMoreInfo implements Serializable{ |
| | | @Expose |
| | | private String name; |
| | | @Expose |
| | | private int jumpPosition; |
| | | |
| | | public VideoAlbumMoreInfo(String name, int jumpPosition) { |
| | | this.name = name; |
| | | this.jumpPosition = jumpPosition; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public int getJumpPosition() { |
| | | return jumpPosition; |
| | | } |
| | | |
| | | public void setJumpPosition(int jumpPosition) { |
| | | this.jumpPosition = jumpPosition; |
| | | } |
| | | } |
| | | } |