using System;
using System.Collections.Generic;

namespace Edu.Model.ViewModel.Course
{
    /// <summary>
    /// 客人实体类
    /// </summary>
    [Serializable]
    public class RB_Order_Guest_ViewModel : Model.Entity.Course.RB_Order_Guest
    {
        /// <summary>
        /// 订单ids
        /// </summary>
        public string OrderIds { get; set; }

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

        /// <summary>
        /// rb_student表的id
        /// </summary>
        public int StudentId { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public string BirthDay { get; set; }

        /// <summary>
        /// 学员状态
        /// </summary>
        public string GuestStateStr
        {
            get { string str = "";
                switch (this.GuestState)
                {
                    case 1: str = "正常";break;
                    case 2: str = "退学"; break;
                    case 3: str = "申请退学中"; break;
                    case 4: str = "驳回申请"; break;
                }
                return str;
            }
        }

        /// <summary>
        /// 合同主键编号
        /// </summary>
        public int ContractId { get; set; }

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

        /// <summary>
        /// 合同状态
        /// </summary>
        public int ContractStatus { get; set; }

        /// <summary>
        /// 合同状态字符串
        /// </summary>
        public string ContractStatusStr
        {
            get;set;
        }
    }
}