From 7804263c6061aef813f0db27cb3046f746572606 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 06 三月 2021 16:07:26 +0800
Subject: [PATCH] 后台管理优化

---
 src/main/java/com/yeshi/buwan/domain/VideoInfo.java |  123 ++++++++++++++++++-----------------------
 1 files changed, 54 insertions(+), 69 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/domain/VideoInfo.java b/src/main/java/com/yeshi/buwan/domain/VideoInfo.java
index 9afd895..90be10b 100644
--- a/src/main/java/com/yeshi/buwan/domain/VideoInfo.java
+++ b/src/main/java/com/yeshi/buwan/domain/VideoInfo.java
@@ -10,6 +10,7 @@
 import javax.persistence.Transient;
 
 import com.google.gson.annotations.Expose;
+import org.springframework.data.annotation.Id;
 
 /**
  * 瑙嗛淇℃伅
@@ -32,16 +33,24 @@
      */
     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
@@ -50,93 +59,69 @@
     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;
-
 
     @Transient
     private VideoResourceMapExtraInfo videoResourceMapExtraInfo;
@@ -150,19 +135,19 @@
         this.videoResourceMapExtraInfo = videoResourceMapExtraInfo;
     }
 
-    public int getVideocount() {
+    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;
     }
 
@@ -214,11 +199,11 @@
         this.showType = showType;
     }
 
-    public int getContentType() {
+    public Integer getContentType() {
         return contentType;
     }
 
-    public void setContentType(int contentType) {
+    public void setContentType(Integer contentType) {
         this.contentType = contentType;
     }
 
@@ -262,11 +247,11 @@
         this.typeList = typeList;
     }
 
-    public int getCommentCount() {
+    public Integer getCommentCount() {
         return commentCount;
     }
 
-    public void setCommentCount(int commentCount) {
+    public void setCommentCount(Integer commentCount) {
         this.commentCount = commentCount;
     }
 
@@ -278,7 +263,6 @@
         this.area = area;
     }
 
-    private String director;
 
     public String getDirector() {
         return director;
@@ -316,11 +300,12 @@
         return serialVersionUID;
     }
 
-    public boolean isCanSave() {
+
+    public Boolean getCanSave() {
         return canSave;
     }
 
-    public void setCanSave(boolean canSave) {
+    public void setCanSave(Boolean canSave) {
         this.canSave = canSave;
     }
 
@@ -521,16 +506,16 @@
         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() {

--
Gitblit v1.8.0