From 1d28c69a351ae108f4116a10f19f615c89a660a2 Mon Sep 17 00:00:00 2001
From: admin <2780501319@qq.com>
Date: 星期四, 01 四月 2021 01:58:43 +0800
Subject: [PATCH] 首页数据修改

---
 src/main/java/com/yeshi/buwan/domain/HomeVideo.java |  171 ++++++++++++++++++++++++++++++---------------------------
 1 files changed, 90 insertions(+), 81 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/domain/HomeVideo.java b/src/main/java/com/yeshi/buwan/domain/HomeVideo.java
index 8d155c5..48ef0d9 100644
--- a/src/main/java/com/yeshi/buwan/domain/HomeVideo.java
+++ b/src/main/java/com/yeshi/buwan/domain/HomeVideo.java
@@ -9,109 +9,118 @@
 
 /**
  * 棣栭〉鍒嗙被涓嬮潰鐨勮棰�
- * 
+ *
  * @author Administrator
- * 
  */
 @Entity
-public class HomeVideo implements Serializable{
-	public HomeVideo(String id) {
-		this.id = id;
-	}
+public class HomeVideo implements Serializable {
+    public HomeVideo(String id) {
+        this.id = id;
+    }
 
-	public HomeVideo() {
-	}
+    public HomeVideo() {
+    }
 
-	@Expose
-	private String id;
-	private HomeType type;
-	@Expose
-	private VideoInfo video;
-	@Expose
-	private String picture;
-	@Expose
-	private String tag;
-	@Expose
-	private int orderby;
-	
-	public int getOrderby() {
-		return orderby;
-	}
+    @Expose
+    private String id;
+    private HomeType type;
+    @Expose
+    private VideoInfo video;
+    @Expose
+    private String picture;
+    @Expose
+    private String tag;
+    @Expose
+    private int orderby;
+    @Expose
+    private Boolean bigPicture;//鏄惁涓哄ぇ鍥炬樉绀�
 
-	public void setOrderby(int orderby) {
-		this.orderby = orderby;
-	}
+    public Boolean getBigPicture() {
+        return bigPicture;
+    }
 
-	public String getTag() {
-		return tag;
-	}
+    public void setBigPicture(Boolean bigPicture) {
+        this.bigPicture = bigPicture;
+    }
 
-	public void setTag(String tag) {
-		this.tag = tag;
-	}
+    public int getOrderby() {
+        return orderby;
+    }
 
-	@ManyToOne
-	public VideoInfo getVideo() {
-		return video;
-	}
+    public void setOrderby(int orderby) {
+        this.orderby = orderby;
+    }
 
-	public void setVideo(VideoInfo video) {
-		this.video = video;
-	}
+    public String getTag() {
+        return tag;
+    }
 
-	private String beizhu;
-	private AdminInfo admin;
-	@Expose
-	private String createtime;
+    public void setTag(String tag) {
+        this.tag = tag;
+    }
 
-	public String getCreatetime() {
-		return createtime;
-	}
+    @ManyToOne
+    public VideoInfo getVideo() {
+        return video;
+    }
 
-	public void setCreatetime(String createtime) {
-		this.createtime = createtime;
-	}
+    public void setVideo(VideoInfo video) {
+        this.video = video;
+    }
 
-	public String getId() {
-		return id;
-	}
+    private String beizhu;
+    private AdminInfo admin;
+    @Expose
+    private String createtime;
 
-	public void setId(String id) {
-		this.id = id;
-	}
+    public String getCreatetime() {
+        return createtime;
+    }
 
-	@ManyToOne
-	public HomeType getType() {
-		return type;
-	}
+    public void setCreatetime(String createtime) {
+        this.createtime = createtime;
+    }
 
-	public void setType(HomeType type) {
-		this.type = type;
-	}
+    public String getId() {
+        return id;
+    }
 
-	public String getBeizhu() {
-		return beizhu;
-	}
+    public void setId(String id) {
+        this.id = id;
+    }
 
-	public void setBeizhu(String beizhu) {
-		this.beizhu = beizhu;
-	}
+    @ManyToOne
+    public HomeType getType() {
+        return type;
+    }
 
-	@ManyToOne
-	public AdminInfo getAdmin() {
-		return admin;
-	}
+    public void setType(HomeType type) {
+        this.type = type;
+    }
 
-	public void setAdmin(AdminInfo admin) {
-		this.admin = admin;
-	}
+    public String getBeizhu() {
+        return beizhu;
+    }
 
-	public String getPicture() {
-		return picture;
-	}
+    public void setBeizhu(String beizhu) {
+        this.beizhu = beizhu;
+    }
 
-	public void setPicture(String picture) {
-		this.picture = picture;
-	}
+    @ManyToOne
+    public AdminInfo getAdmin() {
+        return admin;
+    }
+
+    public void setAdmin(AdminInfo admin) {
+        this.admin = admin;
+    }
+
+    public String getPicture() {
+        return picture;
+    }
+
+    public void setPicture(String picture) {
+        this.picture = picture;
+    }
 
 }

--
Gitblit v1.8.0