From d551bef5e2b09bd98681cf97807988c9863e66fc Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期五, 02 四月 2021 00:39:28 +0800 Subject: [PATCH] 视频详情页中的广告显示策略 --- src/main/java/com/yeshi/buwan/domain/VideoInfo.java | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/domain/VideoInfo.java b/src/main/java/com/yeshi/buwan/domain/VideoInfo.java index 90be10b..38392a1 100644 --- a/src/main/java/com/yeshi/buwan/domain/VideoInfo.java +++ b/src/main/java/com/yeshi/buwan/domain/VideoInfo.java @@ -123,6 +123,17 @@ @Transient private int free; + + //0-鏅竻 1-楂樻竻 + @Expose + @Transient + private int definition; + + //鎼滅储缁撴灉閫傜敤 + @Expose + private VideoAlbumMoreInfo albumMoreInfo; + + @Transient private VideoResourceMapExtraInfo videoResourceMapExtraInfo; @@ -133,6 +144,14 @@ public void setVideoResourceMapExtraInfo(VideoResourceMapExtraInfo videoResourceMapExtraInfo) { this.videoResourceMapExtraInfo = videoResourceMapExtraInfo; + } + + public VideoAlbumMoreInfo getAlbumMoreInfo() { + return albumMoreInfo; + } + + public void setAlbumMoreInfo(VideoAlbumMoreInfo albumMoreInfo) { + this.albumMoreInfo = albumMoreInfo; } public Integer getVideocount() { @@ -537,4 +556,41 @@ public void setFree(int free) { this.free = free; } + + + public int getDefinition() { + return definition; + } + + public void setDefinition(int definition) { + this.definition = definition; + } + + public static class VideoAlbumMoreInfo { + @Expose + private String name; + @Expose + private int jumpPosition; + + public VideoAlbumMoreInfo(String name, int jumpPosition) { + this.name = name; + this.jumpPosition = jumpPosition; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getJumpPosition() { + return jumpPosition; + } + + public void setJumpPosition(int jumpPosition) { + this.jumpPosition = jumpPosition; + } + } } -- Gitblit v1.8.0