From cbb88109494ffc7916f6639c20ce05c0cec941a9 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 07 四月 2021 15:07:45 +0800 Subject: [PATCH] 3.9.1bug修复 --- BuWanVideo/src/com/weikou/beibeivideo/entity/HomeType.java | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 114 insertions(+), 1 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/entity/HomeType.java b/BuWanVideo/src/com/weikou/beibeivideo/entity/HomeType.java index bccf4e2..90dc41e 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/entity/HomeType.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/entity/HomeType.java @@ -1,8 +1,10 @@ package com.weikou.beibeivideo.entity; import java.io.Serializable; +import java.math.BigDecimal; import java.util.List; +import com.alibaba.fastjson.JSONObject; import com.google.gson.annotations.Expose; import com.weikou.beibeivideo.ui.category.bean.HotStar; @@ -13,9 +15,10 @@ */ public class HomeType implements Serializable { - public HomeType(){ + public HomeType() { } + /** * */ @@ -37,6 +40,8 @@ private String params; @Expose private String hasMore; + + @Expose private List<HomeVideo> homeVideoList; @Expose @@ -46,6 +51,39 @@ @Expose private boolean needAd; + //鍒锋柊鐨勪綅缃� 0-鏃犲埛鏂� 1-鍙充笂瑙� 2-涓嬫柟 + @Expose + private int refreshPosition; + @Expose + private String moreTag; + @Expose + private int count; + @Expose + private int number; + + //褰撳墠椤电爜锛�0-寮�濮嬶級 + private int currentPage; + + + //骞垮憡 + @Expose + private HomeTypeAd ad; + + public String getMoreTag() { + return moreTag; + } + + public void setMoreTag(String moreTag) { + this.moreTag = moreTag; + } + + public HomeTypeAd getAd() { + return ad; + } + + public void setAd(HomeTypeAd ad) { + this.ad = ad; + } public boolean isNeedAd() { return needAd; @@ -179,4 +217,79 @@ this.admin = admin; } + public int getRefreshPosition() { + return refreshPosition; + } + + public void setRefreshPosition(int refreshPosition) { + this.refreshPosition = refreshPosition; + } + + public int getCount() { + return count; + } + + public void setCount(int count) { + this.count = count; + } + + public int getNumber() { + return number; + } + + public void setNumber(int number) { + this.number = number; + } + + public int getCurrentPage() { + return currentPage; + } + + public void setCurrentPage(int currentPage) { + this.currentPage = currentPage; + } + + public static class HomeTypeAd { + @Expose + private String picture; + @Expose + private BigDecimal pictureRate; + @Expose + private JumpDetail jumpDetail; + @Expose + private String params; + + public String getPicture() { + return picture; + } + + public void setPicture(String picture) { + this.picture = picture; + } + + public BigDecimal getPictureRate() { + return pictureRate; + } + + public void setPictureRate(BigDecimal pictureRate) { + this.pictureRate = pictureRate; + } + + public JumpDetail getJumpDetail() { + return jumpDetail; + } + + public void setJumpDetail(JumpDetail jumpDetail) { + this.jumpDetail = jumpDetail; + } + + public String getParams() { + return params; + } + + public void setParams(String params) { + this.params = params; + } + } + } -- Gitblit v1.8.0