admin
2025-02-20 f537abe9f3646c739beaf15076246a2f71a347e9
src/main/java/com/yeshi/buwan/vo/video/VideoDetailVO.java
@@ -12,11 +12,15 @@
    @Expose
    private AttentionInfo attention;
    @Expose
    private String sessionId;
    public VideoDetailVO(VideoInfoDetail video, VideoAdInfo adInfo, AttentionInfo attention) {
    public VideoDetailVO(VideoInfoDetail video, VideoAdInfo adInfo, AttentionInfo attention, String sessionId) {
        this.video = video;
        this.adInfo = adInfo;
        this.attention = attention;
        this.sessionId = sessionId;
    }
    public VideoInfoDetail getVideo() {
@@ -51,12 +55,35 @@
        //全屏视频广告
        @Expose
        private boolean fullVideo;
        //全屏视频广告比例
        @Expose
        private int fullVideoWeight;
        //插屏广告比例
        @Expose
        private int interstitialWeight;
        public VideoAdInfo(boolean playVideo, boolean fullVideo) {
            this.playVideo = playVideo;
            this.fullVideo = fullVideo;
        }
        public int getFullVideoWeight() {
            return fullVideoWeight;
        }
        public void setFullVideoWeight(int fullVideoWeight) {
            this.fullVideoWeight = fullVideoWeight;
        }
        public int getInterstitialWeight() {
            return interstitialWeight;
        }
        public void setInterstitialWeight(int interstitialWeight) {
            this.interstitialWeight = interstitialWeight;
        }
        public boolean isPlayVideo() {
            return playVideo;
        }