From cad915058c3c53bf328a8ae9ca9bc7de099caba7 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 06 二月 2021 15:27:49 +0800
Subject: [PATCH] 接口bug修改

---
 src/main/java/com/yeshi/buwan/domain/SolrVideo.java |   45 ++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 44 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..4e3071d 100644
--- a/src/main/java/com/yeshi/buwan/domain/SolrVideo.java
+++ b/src/main/java/com/yeshi/buwan/domain/SolrVideo.java
@@ -1,13 +1,15 @@
 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
@@ -50,8 +52,49 @@
     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;
+    }
+
+    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