using Edu.Model.Entity.BackClass;

namespace Edu.Model.ViewModel.BackClass
{
    /// <summary>
    /// 学员退课单据视图实体类
    /// </summary>
    public class RB_Student_BackClass_ViewModel : RB_Student_BackClass
    {
        /// <summary>
        /// 学员名称
        /// </summary>
        public string GuestName { get; set; }

        /// <summary>
        /// 合同编号
        /// </summary>
        public string ContractNo { get; set; }

        /// <summary>
        /// 合同id
        /// </summary>
        public int ContractId { get; set; }

        /// <summary>
        /// 校区名称
        /// </summary>
        public string SchoolName { get; set; }

        /// <summary>
        /// 班级名称
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 班级编号
        /// </summary>
        public string ClassNo { get; set; }

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

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

        /// <summary>
        /// 退课编号
        /// </summary>
        public string QBackIds { get; set; }

        /// <summary>
        /// 总课时
        /// </summary>
        public int TotalHours { get; set; }

        /// <summary>
        /// 已学课时
        /// </summary>
        public int CompleteHours { get; set; }

        /// <summary>
        /// 剩余课时
        /// </summary>
        public int SurplusHours
        {
            get
            {
                return this.TotalHours - this.CompleteHours;
            }
        }

        /// <summary>
        /// 退课协议主键编号
        /// </summary>
        public int BackClassProtocolId { get; set; }

        /// <summary>
        /// 退课协议编号
        /// </summary>
        public string ProtocolNum { get; set; }

        /// <summary>
        /// 是否盖章
        /// </summary>
        public int IsCompanySeal { get; set; }
    }
}
