using System;

namespace Edu.Model.ViewModel.Course
{
    /// <summary>
    /// 班级实体类
    /// </summary>
    [Serializable]
    public class RB_Class_ViewModel : Model.Entity.Course.RB_Class
    {
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateByName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTimeStr { get { return Common.ConvertHelper.FormatTime(this.CreateTime); } }

        /// <summary>
        /// 更新时间
        /// </summary>
        public string UpdateTimeStr { get { return Common.ConvertHelper.FormatTime(this.UpdateTime); } }

        /// <summary>
        /// 课程名称
        /// </summary>
        public string CourseName { get; set; }

        /// <summary>
        /// 助教名称
        /// </summary>
        public string AssistName { get; set; }

        /// <summary>
        /// 助教头像
        /// </summary>
        public string AssistIcon { get; set; }

        /// <summary>
        /// 讲师名称
        /// </summary>
        public string TeacherName { get; set; }

        /// <summary>
        /// 讲师头像
        /// </summary>
        public string TeacherHead { get; set; }

        /// <summary>
        /// 学员数量
        /// </summary>
        public int StudentCount { get; set; }

        /// <summary>
        /// 作业数量
        /// </summary>
        public int JobCount { get; set; }
    }
}