admin
2021-03-31 431c684f254ba5163cb6256739215e2099b91aaf
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
package com.yeshi.buwan.vo.video;
 
import com.google.gson.annotations.Expose;
import com.yeshi.buwan.domain.VideoInfoDetail;
 
public class VideoDetailVO {
    //视频信息
    @Expose
    private VideoInfoDetail video;
    @Expose
    private VideoAdInfo adInfo;
    @Expose
    private AttentionInfo attention;
 
 
    public VideoDetailVO(VideoInfoDetail video, VideoAdInfo adInfo, AttentionInfo attention) {
        this.video = video;
        this.adInfo = adInfo;
        this.attention = attention;
    }
 
    public VideoInfoDetail getVideo() {
        return video;
    }
 
    public void setVideo(VideoInfoDetail video) {
        this.video = video;
    }
 
    public VideoAdInfo getAdInfo() {
        return adInfo;
    }
 
    public void setAdInfo(VideoAdInfo adInfo) {
        this.adInfo = adInfo;
    }
 
 
    public AttentionInfo getAttention() {
        return attention;
    }
 
    public void setAttention(AttentionInfo attention) {
        this.attention = attention;
    }
 
    public static class VideoAdInfo {
        //播放前贴广告
        @Expose
        private boolean playVideo;
        //全屏视频广告
        @Expose
        private boolean fullVideo;
 
        public VideoAdInfo(boolean playVideo, boolean fullVideo) {
            this.playVideo = playVideo;
            this.fullVideo = fullVideo;
        }
 
        public boolean isPlayVideo() {
            return playVideo;
        }
 
        public void setPlayVideo(boolean playVideo) {
            this.playVideo = playVideo;
        }
 
        public boolean isFullVideo() {
            return fullVideo;
        }
 
        public void setFullVideo(boolean fullVideo) {
            this.fullVideo = fullVideo;
        }
    }
 
    public static class AttentionInfo {
        @Expose
        private String name;
        @Expose
        private String picture;
        @Expose
        private String updateInfo;
        @Expose
        private boolean attention;
 
        public String getName() {
            return name;
        }
 
        public void setName(String name) {
            this.name = name;
        }
 
        public String getPicture() {
            return picture;
        }
 
        public void setPicture(String picture) {
            this.picture = picture;
        }
 
        public String getUpdateInfo() {
            return updateInfo;
        }
 
        public void setUpdateInfo(String updateInfo) {
            this.updateInfo = updateInfo;
        }
 
        public boolean isAttention() {
            return attention;
        }
 
        public void setAttention(boolean attention) {
            this.attention = attention;
        }
    }
 
}