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_Exam_Extend : RB_StuWords_Exam
    {
        /// <summary>
        /// 单词考试详情
        /// </summary>
        public List<RB_StuWords_ExamDetail_Extend> ExamDetailList { get; set; }

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