From 49982f5a1a305c0cc7da04735e1c604b802d2a22 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 15 七月 2021 18:36:09 +0800 Subject: [PATCH] 木瓜接口改为布丸相关的接口 --- MGVideo/src/com/mugua/mgvideo/entity/HomeType.java | 145 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 141 insertions(+), 4 deletions(-) diff --git a/MGVideo/src/com/mugua/mgvideo/entity/HomeType.java b/MGVideo/src/com/mugua/mgvideo/entity/HomeType.java index 80b0cb5..8d33f54 100644 --- a/MGVideo/src/com/mugua/mgvideo/entity/HomeType.java +++ b/MGVideo/src/com/mugua/mgvideo/entity/HomeType.java @@ -1,17 +1,23 @@ package com.mugua.mgvideo.entity; -import java.io.Serializable; -import java.util.List; - import com.google.gson.annotations.Expose; import com.mugua.mgvideo.ui.category.bean.HotStar; +import com.yeshi.base.entity.video.VideoInfo; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.List; /** - * 锟斤拷页锟侥凤拷锟斤拷 * * @author Administrator */ public class HomeType implements Serializable { + + public HomeType() { + + } + /** * */ @@ -33,12 +39,68 @@ private String params; @Expose private String hasMore; + + @Expose private List<HomeVideo> homeVideoList; @Expose private List<HomeTypeItem> itemTypeList; @Expose private String icon; + @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; + } + + public void setNeedAd(boolean needAd) { + this.needAd = needAd; + } + + private List<VideoInfo> videoInfoList; + + public List<VideoInfo> getVideoInfoList() { + return videoInfoList; + } + + public void setVideoInfoList(List<VideoInfo> videoInfoList) { + this.videoInfoList = videoInfoList; + } private List<HotStar> hotStars; @@ -154,4 +216,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