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

namespace Edu.Model.ViewModel.Reserve
{
    /// <summary>
    /// 约课班级信息扩展实体类
    /// </summary>
    public class RB_Reserve_Class_Extend : RB_Reserve_Class
    {
        /// <summary>
        /// 开始日期
        /// </summary>
        public string StartClassDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public string EndClassDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

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

        /// <summary>
        /// 教室名称
        /// </summary>
        public string RoomName { get; set; }

        /// <summary>
        /// 教室座位数
        /// </summary>
        public int RoomNum { get; set; }

        /// <summary>
        /// 报名人数
        /// </summary>
        public int JoinNum { get; set; }

        /// <summary>
        /// 访客预约列表
        /// </summary>
        public List<RB_Visitor_Reserve_Extend> VisitorList { get; set; }

        /// <summary>
        /// 预约日期字符串
        /// </summary>
        public string ClassDateStr { get { return Common.ConvertHelper.FormatDate(this.ClassDate); } }

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

        /// <summary>
        /// 试听课程名称
        /// </summary>
        public string LessonName { get; set; }

        /// <summary>
        /// 订单数量
        /// </summary>
        public int OrderCount { get; set; }

        /// <summary>
        /// 转化率
        /// </summary>
        public decimal ConversionRates { get; set; }

        /// <summary>
        /// 老师Ids
        /// </summary>
        public string TeacherIds { get; set; }

        /// <summary>
        /// 签到人数
        /// </summary>
        public int CheckNum { get; set; }

        /// <summary>
        /// 试听课时费
        /// </summary>
        public decimal ClassHourFee { get; set; }

        /// <summary>
        /// 是否启用基础课时   1是
        /// </summary>
        public int BaseHoursEnabled { get; set; }

        /// <summary>
        /// 启用时间 (存到月)
        /// </summary>
        public string EnableTime { get; set; }

        /// <summary>
        /// 校区
        /// </summary>
        public string SName { get; set; }
    }
}
