using Edu.Model.Entity.Duty;
namespace Edu.Model.ViewModel.Duty
{
    /// <summary>
    /// 访客视图实体类
    /// </summary>
    public class RB_Visitor_ViewModel : RB_Visitor
    {
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

        /// <summary>
        /// 访客状态字符串
        /// </summary>
        public string VisitorStatusStr
        {
            get
            {
                string str = "";
                switch (this.VisitorStatus)
                {
                    case 1: str = "正常"; break;
                    case 2: str = "贵宾"; break;
                    case 3: str = "黑名单"; break;
                }
                return str;
            }
        }

        /// <summary>
        /// 关键字查询
        /// </summary>
        public string KeyWords { get; set; }

        /// <summary>
        /// 是否查看所有人访客
        /// </summary>
        public int IsQueryAll { get; set; }

        /// <summary>
        /// 预约班级编号
        /// </summary>
        public string QReserveClassIds { get; set; }
    }
}
