From 89e370bfdda29ac8a8f7080a18dc09a6ddc75c09 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 26 十月 2020 18:42:16 +0800 Subject: [PATCH] 风行爱奇艺视频更新 --- src/main/java/com/yeshi/buwan/domain/SolrVideo.java | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/domain/SolrVideo.java b/src/main/java/com/yeshi/buwan/domain/SolrVideo.java index 738f057..cb05f23 100644 --- a/src/main/java/com/yeshi/buwan/domain/SolrVideo.java +++ b/src/main/java/com/yeshi/buwan/domain/SolrVideo.java @@ -2,12 +2,13 @@ import org.apache.solr.client.solrj.beans.Field; +import java.io.Serializable; import java.util.Date; /** * 鎼滅储寮曟搸涓繚瀛樼殑瑙嗛瀵硅薄 */ -public class SolrVideo { +public class SolrVideo implements Serializable { @Field private String id; @Field @@ -50,7 +51,26 @@ private String name; @Field private String updatetime; + @Field("root_video_type") + private long rootVideoType;//瑙嗛涓诲垎绫� + @Field + private String year; + 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; -- Gitblit v1.8.0