/******************************************************************************
|
* Copyright (C) 2015 Shenzhen Penguin Network Technology Co., Ltd
|
* All Rights Reserved.
|
* 本软件为深圳市企鹅网络科技有限公司开发研制。未经本公司正式书面同意,其他任何个人、团体
|
* 不得使用、复制、修改或发布本软件.
|
*****************************************************************************/
|
|
package com.qxueyou.scc.media.model;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
|
/**
|
* 提供给App端的视频信息 封装类
|
* @author ody.yuan
|
*
|
*/
|
public class MediaVideoViewVO implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = -5942057185153392368L;
|
|
/** 主键 */
|
private String videoId;
|
|
/** 名称 */
|
private String name;
|
|
/** url */
|
private String url;
|
|
/** origUrl */
|
private String origUrl;
|
|
/** 视频大小,单位KB */
|
private int size;
|
|
/** 视频格式: AVI,MP4... */
|
private String format;
|
|
/** 时长 */
|
private int playTime;
|
|
/** 封面图片URL */
|
private String coverPageUrl;
|
|
/** 播放次数 */
|
private Integer playTimes;
|
|
/** 评分*/
|
@Deprecated
|
private BigDecimal score;
|
|
/** 是否缓存 */
|
private boolean cacheFlag;
|
|
/** 是否下载 */
|
private boolean downloadFlag;
|
|
/** 讲师ID */
|
private String teacherId;
|
|
/** 讲师名称 */
|
private String teacherName;
|
|
/** 描述 */
|
private String remark ;
|
|
/** MP4 高清,安卓使用 */
|
private String androidHD;
|
|
/** MP4 标清,安卓使用 */
|
private String androidSD;
|
|
/** MP4 流畅,安卓使用 */
|
private String androidLD;
|
|
/** M3U8 高清,IOS使用 */
|
private String iosHD;
|
|
/** M3U8 标清,IOS使用 */
|
private String iosSD;
|
|
/** M3U8 流畅,IOS使用 */
|
private String iosLD;
|
|
/** 资源ID 高清 */
|
private String objectHd;
|
|
/** 资源ID 标清 */
|
private String objectSd;
|
|
/** 资源ID 流畅 */
|
private String objectLd;
|
|
/** 是否有资源ID*/
|
private boolean objectFlag;
|
|
/** 视频完成度*/
|
private BigDecimal compDegree;
|
|
/** 视频创建时间 */
|
private Object createTime;
|
|
/** 视频更新时间 */
|
private Object updateTime;
|
|
/** 课程ID */
|
private String subjectId;
|
|
/** 课程名称 */
|
private String subjectName;
|
|
public String getSubjectId() {
|
return subjectId;
|
}
|
|
public void setSubjectId(String subjectId) {
|
this.subjectId = subjectId;
|
}
|
|
public String getSubjectName() {
|
return subjectName;
|
}
|
|
public void setSubjectName(String subjectName) {
|
this.subjectName = subjectName;
|
}
|
|
/**
|
* @return the updateTime
|
*/
|
public Object getUpdateTime() {
|
return updateTime;
|
}
|
|
/**
|
* @param updateTime the updateTime to set
|
*/
|
public void setUpdateTime(Object updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
/**
|
* @return the videoCreateTime
|
*/
|
public Object getCreateTime() {
|
return createTime;
|
}
|
|
/**
|
* @param videoCreateTime the videoCreateTime to set
|
*/
|
public void setCreateTime(Object createTime) {
|
this.createTime = createTime;
|
}
|
|
/**
|
* @param updateTime the updateTime to set
|
*/
|
public BigDecimal getCompDegree() {
|
return compDegree;
|
}
|
|
/**
|
* @param compDegree the compDegree to set
|
*/
|
public void setCompDegree(BigDecimal compDegree) {
|
this.compDegree = compDegree;
|
}
|
|
/**
|
* @return the videoId
|
*/
|
public String getVideoId() {
|
return videoId;
|
}
|
|
/**
|
* @param videoId the videoId to set
|
*/
|
public void setVideoId(String videoId) {
|
this.videoId = videoId;
|
}
|
|
/**
|
* @return the name
|
*/
|
public String getName() {
|
return name;
|
}
|
|
/**
|
* @param name the name to set
|
*/
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
/**
|
* @return the url
|
*/
|
public String getUrl() {
|
return url;
|
}
|
|
/**
|
* @param url the url to set
|
*/
|
public void setUrl(String url) {
|
this.url = url;
|
}
|
|
/**
|
* @return the origUrl
|
*/
|
public String getOrigUrl() {
|
return origUrl;
|
}
|
|
/**
|
* @param origUrl the origUrl to set
|
*/
|
public void setOrigUrl(String origUrl) {
|
this.origUrl = origUrl;
|
}
|
|
/**
|
* @return the size
|
*/
|
public int getSize() {
|
return size;
|
}
|
|
/**
|
* @param size the size to set
|
*/
|
public void setSize(int size) {
|
this.size = size;
|
}
|
|
/**
|
* @return the format
|
*/
|
public String getFormat() {
|
return format;
|
}
|
|
/**
|
* @param format the format to set
|
*/
|
public void setFormat(String format) {
|
this.format = format;
|
}
|
|
/**
|
* @return the playTime
|
*/
|
public int getPlayTime() {
|
return playTime;
|
}
|
|
/**
|
* @param playTime the playTime to set
|
*/
|
public void setPlayTime(int playTime) {
|
this.playTime = playTime;
|
}
|
|
/**
|
* @return the coverPageUrl
|
*/
|
public String getCoverPageUrl() {
|
return coverPageUrl;
|
}
|
|
/**
|
* @param coverPageUrl the coverPageUrl to set
|
*/
|
public void setCoverPageUrl(String coverPageUrl) {
|
this.coverPageUrl = coverPageUrl;
|
}
|
|
/**
|
* @return the playTimes
|
*/
|
public Integer getPlayTimes() {
|
return playTimes;
|
}
|
|
/**
|
* @param playTimes the playTimes to set
|
*/
|
public void setPlayTimes(Integer playTimes) {
|
this.playTimes = playTimes;
|
}
|
|
/**
|
* @return the score
|
*/
|
public BigDecimal getScore() {
|
return score;
|
}
|
|
/**
|
* @param score the score to set
|
*/
|
public void setScore(BigDecimal score) {
|
this.score = score;
|
}
|
|
/**
|
* @return the cacheFlag
|
*/
|
public boolean isCacheFlag() {
|
return cacheFlag;
|
}
|
|
/**
|
* @param cacheFlag the cacheFlag to set
|
*/
|
public void setCacheFlag(boolean cacheFlag) {
|
this.cacheFlag = cacheFlag;
|
}
|
|
/**
|
* @return the downloadFlag
|
*/
|
public boolean isDownloadFlag() {
|
return downloadFlag;
|
}
|
|
/**
|
* @param downloadFlag the downloadFlag to set
|
*/
|
public void setDownloadFlag(boolean downloadFlag) {
|
this.downloadFlag = downloadFlag;
|
}
|
|
/**
|
* @return the teacherId
|
*/
|
public String getTeacherId() {
|
return teacherId;
|
}
|
|
/**
|
* @param teacherId the teacherId to set
|
*/
|
public void setTeacherId(String teacherId) {
|
this.teacherId = teacherId;
|
}
|
|
/**
|
* @return the teacherName
|
*/
|
public String getTeacherName() {
|
return teacherName;
|
}
|
|
/**
|
* @param teacherName the teacherName to set
|
*/
|
public void setTeacherName(String teacherName) {
|
this.teacherName = teacherName;
|
}
|
|
/**
|
* @return the remark
|
*/
|
public String getRemark() {
|
return remark;
|
}
|
|
/**
|
* @param remark the remark to set
|
*/
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
/**
|
* @return the androidHD
|
*/
|
public String getAndroidHD() {
|
return androidHD;
|
}
|
|
/**
|
* @param androidHD the androidHD to set
|
*/
|
public void setAndroidHD(String androidHD) {
|
this.androidHD = androidHD;
|
}
|
|
/**
|
* @return the androidSD
|
*/
|
public String getAndroidSD() {
|
return androidSD;
|
}
|
|
/**
|
* @param androidSD the androidSD to set
|
*/
|
public void setAndroidSD(String androidSD) {
|
this.androidSD = androidSD;
|
}
|
|
/**
|
* @return the androidLD
|
*/
|
public String getAndroidLD() {
|
return androidLD;
|
}
|
|
/**
|
* @param androidLD the androidLD to set
|
*/
|
public void setAndroidLD(String androidLD) {
|
this.androidLD = androidLD;
|
}
|
|
/**
|
* @return the iosHD
|
*/
|
public String getIosHD() {
|
return iosHD;
|
}
|
|
/**
|
* @param iosHD the iosHD to set
|
*/
|
public void setIosHD(String iosHD) {
|
this.iosHD = iosHD;
|
}
|
|
/**
|
* @return the iosSD
|
*/
|
public String getIosSD() {
|
return iosSD;
|
}
|
|
/**
|
* @param iosSD the iosSD to set
|
*/
|
public void setIosSD(String iosSD) {
|
this.iosSD = iosSD;
|
}
|
|
/**
|
* @return the iosLD
|
*/
|
public String getIosLD() {
|
return iosLD;
|
}
|
|
/**
|
* @param iosLD the iosLD to set
|
*/
|
public void setIosLD(String iosLD) {
|
this.iosLD = iosLD;
|
}
|
|
/**
|
* @return the objectHd
|
*/
|
public String getObjectHd() {
|
return objectHd;
|
}
|
|
/**
|
* @param objectHd the objectHd to set
|
*/
|
public void setObjectHd(String objectHd) {
|
this.objectHd = objectHd;
|
}
|
|
/**
|
* @return the objectSd
|
*/
|
public String getObjectSd() {
|
return objectSd;
|
}
|
|
/**
|
* @param objectSd the objectSd to set
|
*/
|
public void setObjectSd(String objectSd) {
|
this.objectSd = objectSd;
|
}
|
|
/**
|
* @return the objectLd
|
*/
|
public String getObjectLd() {
|
return objectLd;
|
}
|
|
/**
|
* @param objectLd the objectLd to set
|
*/
|
public void setObjectLd(String objectLd) {
|
this.objectLd = objectLd;
|
}
|
|
/**
|
* @return the objectFlag
|
*/
|
public boolean isObjectFlag() {
|
return objectFlag;
|
}
|
|
/**
|
* @param objectFlag the objectFlag to set
|
*/
|
public void setObjectFlag(boolean objectFlag) {
|
this.objectFlag = objectFlag;
|
}
|
|
}
|