package com.yeshi.buwan.domain.solr;
|
|
import org.apache.solr.client.solrj.beans.Field;
|
import org.springframework.data.solr.core.mapping.Indexed;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 搜索引擎中保存的一般视频对象
|
*/
|
public class SolrCommonVideo implements Serializable {
|
@Field
|
private String id;
|
@Field
|
private String mainactor;
|
@Field
|
private int show;
|
@Field
|
private String name;
|
@Field
|
private String tag;
|
@Field
|
private String duration;
|
@Field
|
private String score;
|
@Field
|
private String vpicture;
|
@Field("latest_vpicture")
|
private String latestVpicture;
|
@Field
|
private String hpicture;
|
@Field("latest_hpicture")
|
private String latestHpicture;
|
@Field
|
private String area;
|
@Field
|
private String createtime;
|
@Field
|
private int watchcount;
|
@Field
|
private String director;
|
@Field
|
private String picture;
|
@Field
|
private int contenttype;
|
@Field("solr_time")
|
private Date solrTime;
|
@Field
|
private int commentcount;
|
@Field
|
private int videocount;
|
|
@Field
|
private String updatetime;
|
@Field
|
private long updateTime;
|
@Indexed
|
@Field("root_video_type")
|
private long rootVideoType;//视频主分类
|
@Indexed
|
@Field("video_types")
|
private String videoTypes;
|
|
@Field
|
private String year;
|
@Field
|
@Indexed
|
private String resourceIds;//视频资源ID列表
|
|
|
public long getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(long updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getResourceIds() {
|
return resourceIds;
|
}
|
|
public void setResourceIds(String resourceIds) {
|
this.resourceIds = resourceIds;
|
}
|
|
public String getYear() {
|
return year;
|
}
|
|
public void setYear(String year) {
|
this.year = year;
|
}
|
|
public long getRootVideoType() {
|
return rootVideoType;
|
}
|
|
public void setRootVideoType(long rootVideoType) {
|
this.rootVideoType = rootVideoType;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getMainactor() {
|
return mainactor;
|
}
|
|
public void setMainactor(String mainactor) {
|
this.mainactor = mainactor;
|
}
|
|
public int getShow() {
|
return show;
|
}
|
|
public void setShow(int show) {
|
this.show = show;
|
}
|
|
public String getLatestHpicture() {
|
return latestHpicture;
|
}
|
|
public void setLatestHpicture(String latestHpicture) {
|
this.latestHpicture = latestHpicture;
|
}
|
|
public String getDuration() {
|
return duration;
|
}
|
|
public void setDuration(String duration) {
|
this.duration = duration;
|
}
|
|
public String getScore() {
|
return score;
|
}
|
|
public void setScore(String score) {
|
this.score = score;
|
}
|
|
public String getVpicture() {
|
return vpicture;
|
}
|
|
public void setVpicture(String vpicture) {
|
this.vpicture = vpicture;
|
}
|
|
public String getLatestVpicture() {
|
return latestVpicture;
|
}
|
|
public void setLatestVpicture(String latestVpicture) {
|
this.latestVpicture = latestVpicture;
|
}
|
|
public String getTag() {
|
return tag;
|
}
|
|
public void setTag(String tag) {
|
this.tag = tag;
|
}
|
|
public String getHpicture() {
|
return hpicture;
|
}
|
|
public void setHpicture(String hpicture) {
|
this.hpicture = hpicture;
|
}
|
|
public String getArea() {
|
return area;
|
}
|
|
public void setArea(String area) {
|
this.area = area;
|
}
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
|
public int getWatchcount() {
|
return watchcount;
|
}
|
|
public void setWatchcount(int watchcount) {
|
this.watchcount = watchcount;
|
}
|
|
public String getDirector() {
|
return director;
|
}
|
|
public void setDirector(String director) {
|
this.director = director;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public int getContenttype() {
|
return contenttype;
|
}
|
|
public void setContenttype(int contenttype) {
|
this.contenttype = contenttype;
|
}
|
|
public Date getSolrTime() {
|
return solrTime;
|
}
|
|
public void setSolrTime(Date solrTime) {
|
this.solrTime = solrTime;
|
}
|
|
public int getCommentcount() {
|
return commentcount;
|
}
|
|
public void setCommentcount(int commentcount) {
|
this.commentcount = commentcount;
|
}
|
|
public int getVideocount() {
|
return videocount;
|
}
|
|
public void setVideocount(int videocount) {
|
this.videocount = videocount;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getUpdatetime() {
|
return updatetime;
|
}
|
|
public void setUpdatetime(String updatetime) {
|
this.updatetime = updatetime;
|
}
|
|
|
public String getVideoTypes() {
|
return videoTypes;
|
}
|
|
public void setVideoTypes(String videoTypes) {
|
this.videoTypes = videoTypes;
|
}
|
}
|