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

namespace Edu.Model.ViewModel.Customer
{
    /// <summary>
    /// 学员到访表扩展实体类
    /// </summary>
    public class RB_Student_Visit_Extend : RB_Student_Visit
    {
        /// <summary>
        /// 校区名称
        /// </summary>
        public string SchoolName { get; set; }

        /// <summary>
        /// 接待人姓名
        /// </summary>
        public string ReceptionPersionName { get; set; }

        /// <summary>
        /// 接待人电话
        /// </summary>
        public string ReceptionPersionTel { get; set; }

        /// <summary>
        /// 单个日期查询
        /// </summary>
        public string QueryDate { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string StartDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndDate { get; set; }

        /// <summary>
        /// 学员名称
        /// </summary>
        public string StuName { get; set; }

        /// <summary>
        /// 学员电话
        /// </summary>
        public string StuTel { get; set; }

        /// <summary>
        /// 到访状态字符串
        /// </summary>
        public string IsVisitStr
        {
            get
            {
                string str = "未到访";
                if (this.IsVisit == 1)
                {
                    str = "已到访";
                }
                return str;
            }
        }

        /// <summary>
        /// 学员编号
        /// </summary>
        public string QStuIds { get; set; }

        /// <summary>
        /// 到访次数
        /// </summary>
        public int VisitCount { get; set; }

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

        /// <summary>
        /// 创建人【查询使用】
        /// </summary>
        public string QCreateByIds { get; set; }
    }
}
