
using Edu.Model.Entity.Exam;
using System;
using System.Collections.Generic;
using System.Text;

namespace Edu.Model.ViewModel.Exam
{
    /// <summary>
    /// 学员单词预习扩展实体类
    /// </summary>
    public class RB_StuWords_Prep_Extend: RB_StuWords_Prep
    {
        /// <summary>
        /// 复习章节编号
        /// </summary>
        public int ReviewCourseChapterId { get; set; }

        /// <summary>
        /// 学习类型(1-预习，2-复习)
        /// </summary>
        public int StudyType { get; set; }

        /// <summary>
        /// 学习分钟数
        /// </summary>
        public string StartMinutes
        {
            get
            {
                string str = "";
                if (this.StartTime != null && this.EndTime != null)
                {
                    str = Common.ConvertHelper.CalcMinutes(Convert.ToDateTime(this.StartTime), Convert.ToDateTime(this.EndTime)).ToString();
                }
                return str;
            }
        }
    }
}
