From f537abe9f3646c739beaf15076246a2f71a347e9 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 20 二月 2025 16:57:55 +0800
Subject: [PATCH] IOS广告增加区域屏蔽

---
 src/main/java/com/yeshi/buwan/domain/HomeVideo.java |  222 +++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 141 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..c648026 100644
--- a/src/main/java/com/yeshi/buwan/domain/HomeVideo.java
+++ b/src/main/java/com/yeshi/buwan/domain/HomeVideo.java
@@ -1,6 +1,7 @@
 package com.yeshi.buwan.domain;
 
 import java.io.Serializable;
+import java.util.Date;
 
 import javax.persistence.Entity;
 import javax.persistence.ManyToOne;
@@ -9,109 +10,168 @@
 
 /**
  * 棣栭〉鍒嗙被涓嬮潰鐨勮棰�
- * 
+ *
  * @author Administrator
- * 
  */
 @Entity
-public class HomeVideo implements Serializable{
-	public HomeVideo(String id) {
-		this.id = id;
-	}
+public class HomeVideo implements Serializable {
 
-	public HomeVideo() {
-	}
+    //鏈湴瑙嗛
+    public final static int FROM_TYPE_LOCAL = 0;
+    //鍏ㄧ綉鎼�
+    public final static int FROM_TYPE_INTERNET = 1;
+    //鐭棰�
+    public final static int FROM_TYPE_SHORT = 2;
 
-	@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;
-	}
 
-	public void setOrderby(int orderby) {
-		this.orderby = orderby;
-	}
+    public HomeVideo(String id) {
+        this.id = id;
+    }
 
-	public String getTag() {
-		return tag;
-	}
+    public HomeVideo() {
+    }
 
-	public void setTag(String tag) {
-		this.tag = tag;
-	}
+    @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;//鏄惁涓哄ぇ鍥炬樉绀�
 
-	@ManyToOne
-	public VideoInfo getVideo() {
-		return video;
-	}
+    @Expose
+    private String videoId;
 
-	public void setVideo(VideoInfo video) {
-		this.video = video;
-	}
+    private Integer fromType;//0-鏈湴搴�  1-鍏ㄧ綉鎼�
 
-	private String beizhu;
-	private AdminInfo admin;
-	@Expose
-	private String createtime;
+    private String videoName;
 
-	public String getCreatetime() {
-		return createtime;
-	}
+    private Date videoUpdateTime;
 
-	public void setCreatetime(String createtime) {
-		this.createtime = createtime;
-	}
 
-	public String getId() {
-		return id;
-	}
+    public String getVideoName() {
+        return videoName;
+    }
 
-	public void setId(String id) {
-		this.id = id;
-	}
+    public void setVideoName(String videoName) {
+        this.videoName = videoName;
+    }
 
-	@ManyToOne
-	public HomeType getType() {
-		return type;
-	}
+    public Date getVideoUpdateTime() {
+        return videoUpdateTime;
+    }
 
-	public void setType(HomeType type) {
-		this.type = type;
-	}
+    public void setVideoUpdateTime(Date videoUpdateTime) {
+        this.videoUpdateTime = videoUpdateTime;
+    }
 
-	public String getBeizhu() {
-		return beizhu;
-	}
+    public String getVideoId() {
+        return videoId;
+    }
 
-	public void setBeizhu(String beizhu) {
-		this.beizhu = beizhu;
-	}
+    public void setVideoId(String videoId) {
+        this.videoId = videoId;
+    }
 
-	@ManyToOne
-	public AdminInfo getAdmin() {
-		return admin;
-	}
+    public Boolean getBigPicture() {
+        return bigPicture;
+    }
 
-	public void setAdmin(AdminInfo admin) {
-		this.admin = admin;
-	}
+    public void setBigPicture(Boolean bigPicture) {
+        this.bigPicture = bigPicture;
+    }
 
-	public String getPicture() {
-		return picture;
-	}
+    public int getOrderby() {
+        return orderby;
+    }
 
-	public void setPicture(String picture) {
-		this.picture = picture;
-	}
+    public void setOrderby(int orderby) {
+        this.orderby = orderby;
+    }
 
+    public String getTag() {
+        return tag;
+    }
+
+    public void setTag(String tag) {
+        this.tag = tag;
+    }
+
+    @ManyToOne
+    public VideoInfo getVideo() {
+        return video;
+    }
+
+    public void setVideo(VideoInfo video) {
+        this.video = video;
+    }
+
+    private String beizhu;
+    private AdminInfo admin;
+    @Expose
+    private String createtime;
+
+    public String getCreatetime() {
+        return createtime;
+    }
+
+    public void setCreatetime(String createtime) {
+        this.createtime = createtime;
+    }
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    @ManyToOne
+    public HomeType getType() {
+        return type;
+    }
+
+    public void setType(HomeType type) {
+        this.type = type;
+    }
+
+    public String getBeizhu() {
+        return beizhu;
+    }
+
+    public void setBeizhu(String beizhu) {
+        this.beizhu = beizhu;
+    }
+
+    @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;
+    }
+
+    public Integer getFromType() {
+        return fromType;
+    }
+
+    public void setFromType(Integer fromType) {
+        this.fromType = fromType;
+    }
 }

--
Gitblit v1.8.0