ArticleVideoBean.java 3.1 KB

package com.wd.foundation.bean.web;

import android.text.TextUtils;

import com.wd.foundation.bean.base.BaseBean;

/**
 * 图文详情视频bean
 *
 * @author baozhaoxin
 * @version [V1.0.0, 2023/6/12]
 * @since V1.0.0
 */
public class ArticleVideoBean extends BaseBean {

    /**
     * 视频位置左边距离值
     */
    private String positionLeft;

    /**
     * 视频位置上边距离值
     */
    private String positionTop;

    /**
     * 视频位置宽度
     */
    private String positionWidth;

    /**
     * 视频位置高度
     */
    private String positionHeight;

    /**
     * 视频实际宽度
     */
    private String videoWidth;

    /**
     * 视频实际高度
     */
    private String videoHeight;

    /**
     * 视频是否为横屏:1横屏,2竖屏
     */
    private String videoLandscape;

    /**
     * 视频的链接
     */
    private String videoUrl;

    /**
     * 视频封面的链接
     */
    private String videoCoverUrl;

    /**
     * 视频时长
     */
    private String videoDuration;

    /**
     * webview的高度
     */
    private int webViewHeight;

    public String getPositionLeft() {
        return positionLeft;
    }

    public void setPositionLeft(String positionLeft) {
        this.positionLeft = positionLeft;
    }

    public String getPositionTop() {
        return positionTop;
    }

    public void setPositionTop(String positionTop) {
        this.positionTop = positionTop;
    }

    public String getPositionWidth() {
        return positionWidth;
    }

    public void setPositionWidth(String positionWidth) {
        this.positionWidth = positionWidth;
    }

    public String getPositionHeight() {
        return positionHeight;
    }

    public void setPositionHeight(String positionHeight) {
        this.positionHeight = positionHeight;
    }

    public String getVideoWidth() {
        return videoWidth;
    }

    public void setVideoWidth(String videoWidth) {
        this.videoWidth = videoWidth;
    }

    public String getVideoHeight() {
        return videoHeight;
    }

    public void setVideoHeight(String videoHeight) {
        this.videoHeight = videoHeight;
    }

    public String getVideoLandscape() {
        if (TextUtils.isEmpty(videoLandscape)) {
            return "1";
        }
        return videoLandscape;
    }

    public void setVideoLandscape(String videoLandscape) {
        this.videoLandscape = videoLandscape;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getVideoCoverUrl() {
        return videoCoverUrl;
    }

    public void setVideoCoverUrl(String videoCoverUrl) {
        this.videoCoverUrl = videoCoverUrl;
    }

    public String getVideoDuration() {
        return videoDuration;
    }

    public void setVideoDuration(String videoDuration) {
        this.videoDuration = videoDuration;
    }

    public int getWebViewHeight() {
        return webViewHeight;
    }

    public void setWebViewHeight(int webViewHeight) {
        this.webViewHeight = webViewHeight;
    }
}