using System;
using System.Collections.Generic;

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 CateName { 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 string RoomName { get; set; }

        /// <summary>
        /// 报名学员数量
        /// </summary>
        public int OrderStudentCount { get; set; }

        /// <summary>
        /// 学习名称
        /// </summary>
        public string SchoolName { get; set; }

        /// <summary>
        /// 校区负责人编号
        /// </summary>
        public int ManagerId { get; set; }

        /// <summary>
        /// 班级阶梯价列表
        /// </summary>
        public List<RB_Class_StepPrice_ViewModel> ClassStepPriceList { get; set; }

        /// <summary>
        /// 班级上课计划列表
        /// </summary>
        public List<RB_Class_Plan_ViewModel> ClassPlanList { get; set; }

        /// <summary>
        /// 班级上课计划时间
        /// </summary>
        public List<RB_Class_Time_ViewModel> ClassTimeList { get; set; }

        /// <summary>
        ///班级计划默认上课时间
        /// </summary>
        public List<RB_Class_Time_ViewModel> DefaultTimeList { get; set; }

        /// <summary>
        /// 课程优惠信息列表
        /// </summary>
        public List<RB_Course_Preferential_Extend> PreferentialList { get; set; }

        /// <summary>
        /// 开课时间
        /// </summary>
        public string OpenTimeStr { get; set; }

        /// <summary>
        /// 开班开始时间
        /// </summary>
        public string StartTime { get; set; }

        /// <summary>
        /// 开班结束时间
        /// </summary>
        public string EndTime { get; set; }
        /// <summary>
        /// 查询可报名  1是
        /// </summary>
        public int Q_CanApply { get; set; }

        /// <summary>
        /// 班级ids
        /// </summary>
        public string Q_ClassIds { get; set; }

        /// 选中的周几/或日期数组
        /// </summary>
        public List<string> WeekDayList { get; set; }

        /// <summary>
        ///  默认上课时间
        /// </summary>
        public List<RB_Class_Time_ViewModel> DefaultPlanTimeList { get; set; }

        /// <summary>
        /// 月份
        /// </summary>
        public string QMonth { get; set; }

        /// <summary>
        /// 具体开课时间
        /// </summary>
        public string NewPlanDateTime { get; set; }

        /// <summary>
        /// 原班级id
        /// </summary>
        public int OldClassId { get; set; }

        /// <summary>
        /// 班级最新计划Id
        /// </summary>
        public int ClassPlanId { get; set; }

        /// <summary>
        /// 班级最新计划时间
        /// </summary>
        public DateTime? ClassDate { get; set; }

        /// <summary>
        /// 报名截止日期开始
        /// </summary>
        public string JoinStartTime { get; set; }

        /// <summary>
        /// 报名截止日期结束
        /// </summary>
        public string JoinEndTime { get; set; }

        /// <summary>
        /// 课程分类编号
        /// </summary>
        public int CateId { get; set; }


        /// <summary>
        /// 销售平台
        /// </summary>
        public string Saleplat { get; set; }
    }
}