admin
2020-08-08 3945f9a2c70335958c64c73894e3a1a14a7113b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.weikou.beibeivideo.entity.recommend;
 
import com.weikou.beibeivideo.entity.HomeVideo;
import com.weikou.beibeivideo.entity.ad.ExpressAdContainer;
 
/**
 * 首页每一大项的内容
 */
public class HomeTypeContent {
    public final static int TYPE_CONTENT = 1;
    public final static int TYPE_AD = 2;
 
    private int type;
    private ExpressAdContainer ad;
    private HomeVideo homeVideo;
 
    public HomeTypeContent() {
    }
 
    public HomeTypeContent(int type, ExpressAdContainer ad) {
        this.type = type;
        this.ad = ad;
    }
 
    public HomeTypeContent(int type, HomeVideo homeVideo) {
        this.type = type;
        this.homeVideo = homeVideo;
    }
 
    public int getType() {
        return type;
    }
 
    public void setType(int type) {
        this.type = type;
    }
 
    public ExpressAdContainer getAd() {
        return ad;
    }
 
    public void setAd(ExpressAdContainer ad) {
        this.ad = ad;
    }
 
    public HomeVideo getHomeVideo() {
        return homeVideo;
    }
 
    public void setHomeVideo(HomeVideo homeVideo) {
        this.homeVideo = homeVideo;
    }
}