using System; using Edu.Common.Enum.Course; using Edu.Common.Plugin; using Edu.Model.Entity.Sell; namespace Edu.Model.ViewModel.Sell { /// /// 学员名单扩展表 /// public class RB_Order_Guest_Extend : RB_Order_Guest { /// /// 合同编号 /// public string ContractNo { get; set; } /// /// 合同id /// public int ContractId { get; set; } /// /// 课程id /// public int CourseId { get; set; } /// /// 课程名称 /// public string CourseName { get; set; } /// /// 班级名称 /// public string ClassName { get; set; } /// /// 班号 /// public string ClassNo { get; set; } /// /// 老师id /// public int Teacher_Id { get; set; } /// /// 老师名称 /// public string TeacherName { get; set; } /// ///下单时间 /// public DateTime? OrderTime { get; set; } /// ///结束下单时间 /// public DateTime? EndOrderTime { get; set; } /// /// 业务员 /// public int EnterID { get; set; } /// /// 业务员 /// public string EnterName { get; set; } /// /// 应收金额 /// public decimal PreferPrice { get; set; } /// /// 实收金额 /// public decimal Income { get; set; } /// /// 退款金额 /// public decimal Refund { get; set; } /// /// 平台税金 /// public decimal PlatformTax { get; set; } /// /// 剩余课时 /// public int SurplusHours { get; set; } /// /// 缺勤次数 /// public int AbsenceNum { get; set; } /// /// 请假次数 /// public int LeaveNum { get; set; } /// /// 事件数 /// public int EventlogNum { get; set; } /// /// 是否生效 (查询对应:(0-全部 1-未生效,2-正常,3-休学,4-完课)) (生效状态(0-未生效,1-生效中,2-完成)) /// public int? EffectStatus { get; set; } /// /// 订单报入类型(查询的时候0-全部1-正常报入,2-插班报入,3-续费订单,4-转班订单,5-分拆订单) /// public int JoinType { get; set; } /// /// 学生id(rb_student 表中的id) /// public int Student_Id { get; set; } /// /// 预警类型(0-全部,1-不足5课时,) /// public Common.Enum.Course.GuestClassHoursEarlyWarningEnum EarlyWarning { get; set; } /// /// 学员状态 /// public string GuestStateStr { get { return this.GuestState.ToName(); } } /// /// 学员状态 /// public string JoinTypeStr { get { string str = ""; switch (this.JoinType) { case 1: str = "正常报入"; break; case 2: str = "插班报入"; break; case 3: str = "续费订单"; break; case 4: str = "转班订单"; break; case 5: str = "分拆订单"; break; } return str; } } /// /// 课程等级 /// public CourseRateEnum CourseRate { get; set; } } }