| | |
| | | package com.yeshi.buwan.domain; |
| | | |
| | | 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 SolrVideo { |
| | | public class SolrVideo implements Serializable { |
| | | @Field |
| | | private String id; |
| | | @Field |
| | |
| | | private String name; |
| | | @Field |
| | | private String updatetime; |
| | | @Field |
| | | private long updateTime; |
| | | @Field("root_video_type") |
| | | private long rootVideoType;//视频主分类 |
| | | @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; |