package com.yidianling.course.bean

/**
 * @author jiucheng
 * @描述:
 * @Copyright Copyright (c) 2018
 * @Company 壹点灵
 * @date 2019/7/11
 */
const val COURSE_AUDIO = 1
const val COURSE_VIDEO = 2
data class CourseMediaBean(

        /**
         * 课程id ,
         */
        var courseId: String,
        /**
         * 课程主讲人名字
         */
        var doctorName: String,
        /**
         * 资料类型 1.音频 2.视频 ,
         * @see COURSE_AUDIO
         * @see COURSE_VIDEO
         */
        var mediaType: Int,
        /**
         * 课程标题 ,
         */
        var title: String,
        /**
         * 课程url ,
         */
        var url: String,

        /**
         * 当前是否在播放
         */
        var isPlaying: Boolean = false,

        /**
         * 是否是试听
         */
        var isDemo: Boolean = false
)