using Edu.Common.Enum.Course;
using Edu.Common.Plugin;
using Edu.Model.Entity.Grade;
using Edu.Model.ViewModel.Course;
using System;
using System.Collections.Generic;
namespace Edu.Model.ViewModel.Grade
{
///
/// 班级实体类
///
[Serializable]
public class RB_Class_ViewModel : RB_Class
{
///
/// 创建人
///
public string CreateByName { get; set; }
///
/// 修改人
///
public string UpdateByName { get; set; }
///
/// 创建时间
///
public string CreateTimeStr { get { return Common.ConvertHelper.FormatTime(this.CreateTime); } }
///
/// 更新时间
///
public string UpdateTimeStr { get { return Common.ConvertHelper.FormatTime(this.UpdateTime); } }
///
/// 课程名称
///
public string CourseName { get; set; }
///
/// 课程特色
///
public string CourseFeature { get; set; }
///
/// 课程分类
///
public string CateName { get; set; }
///
/// 助教名称
///
public string AssistName { get; set; }
///
/// 助教头像
///
public string AssistIcon { get; set; }
///
/// 讲师名称
///
public string TeacherName { get; set; }
///
/// 讲师头像
///
public string TeacherHead { get; set; }
///
/// 教室名称
///
public string RoomName { get; set; }
///
/// 报名学员数量
///
public int OrderStudentCount { get; set; }
///
/// 学校名称
///
public string SchoolName { get; set; }
///
/// 校区负责人编号
///
public int ManagerId { get; set; }
///
/// 班级阶梯价列表
///
public List ClassStepPriceList { get; set; }
///
/// 班级上课计划列表
///
public List ClassPlanList { get; set; }
///
/// 班级上课计划时间
///
public List ClassTimeList { get; set; }
///
///班级计划默认上课时间
///
public List DefaultTimeList { get; set; }
///
/// 开课时间
///
public string OpenTimeStr { get; set; }
///
/// 预计完成时间
///
public string FinishTimeStr { get; set; }
///
/// 开班开始时间
///
public string StartTime { get; set; }
///
/// 开班结束时间
///
public string EndTime { get; set; }
///
/// 查询可报名 1是
///
public int Q_CanApply { get; set; }
///
/// 班级ids
///
public string Q_ClassIds { get; set; }
/// 选中的周几/或日期数组
///
public List WeekDayList { get; set; }
///
/// 月份
///
public string QMonth { get; set; }
///
/// 具体开课时间
///
public string NewPlanDateTime { get; set; }
///
/// 原班级id
///
public int OldClassId { get; set; }
///
/// 班级最新计划Id
///
public int ClassPlanId { get; set; }
///
/// 班级最新计划时间
///
public DateTime? ClassDate { get; set; }
///
/// 报名截止日期开始
///
public string JoinStartTime { get; set; }
///
/// 报名截止日期结束
///
public string JoinEndTime { get; set; }
///
/// 课程分类编号
///
public int CateId { get; set; }
///
/// 销售平台
///
public string Saleplat { get; set; }
///
/// 课程售价
///
public decimal CourseSellPrice { get; set; }
///
/// 课程原价
///
public decimal CourseOriginalPrice { get; set; }
///
/// 关联其他课程列表
///
public List OtherCourseList { get; set; }
///
/// 班级状态字符串
///
public string ClassStatusStr
{
get
{
string str = "";
str = Common.Plugin.EnumHelper.ToName(this.ClassStatus);
return str;
}
}
///
/// 查询有未报满的班级
///
public int IsQuerySurplus { get; set; }
///
/// 总的上课次数
///
public int TotalPlanNum { get; set; }
///
/// 已上课次数
///
public int UsePlanNum { get; set; }
///
/// 多个课程状态(如:2,3)
///
public string MoreStatus { get; set; }
///
/// 是否查询剩余的上课计划
///
public int IsQuerySurplusPlan { get; set; }
///
/// 查询状态
///
public string QClassStatus { get; set; }
///
/// 开班时间
///
public List ClassDateList { get; set; }
///
/// 所属科目
///
public int CourseSubject { get; set; }
///
/// 科目名称
///
public string CourseSubjectName { get; set; }
///
/// 直客首次报名优惠比例
///
public decimal B2CRatio { get; set; }
///
/// 直客续费优惠比例
///
public decimal B2CReNewRatio { get; set; }
///
/// 一般同行首次报名返佣比例
///
public decimal B2BRebateRatio { get; set; }
///
/// 一般同行续费返佣比例
///
public decimal B2BReNewRatio { get; set; }
///
/// 校代同行首次报名返佣比例
///
public decimal SchoolRebateRatio { get; set; }
///
/// 校代同行续费返佣比例
///
public decimal SchoolReNewRatio { get; set; }
}
///
/// 上课时间配置项
///
public class ClassTimeItem
{
///
/// 上课日期【ClassStyle:1-周(1,2...);2和3(具体日期);4(暂无)】
///
public List DateList { get; set; }
///
/// 具体上课时间
///
public List TimeList { get; set; }
}
///
/// 上课时间对象
///
public class TimeItem
{
///
/// 开始时间
///
public string StartTime { get; set; }
///
/// 结束时间
///
public string EndTime { get; set; }
///
/// 消耗课时
///
public decimal TimeHour { get; set; }
}
}