using Edu.Common;
using System;
using System.Collections.Generic;

namespace Edu.Model.ViewModel.User
{
    /// <summary>
    /// 管理者视图实体类
    /// </summary>
    [Serializable]
    public class RB_Manager_ViewModel : Model.Entity.User.RB_Manager
    {
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

        /// <summary>
        /// 创建时间字符串
        /// </summary>
        public string CreateTimeStr { get { return this.CreateTime.FormatTime(); } }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateByName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public string UpdateTimeStr { get { return this.UpdateTime.FormatTime(); } }

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

        /// <summary>
        /// 管理者账号
        /// </summary>
        public string ManagerAccount { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 岗位名称
        /// </summary>
        public string PostName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 用户类型(1-管理端,2-讲师,3-助教)
        /// </summary>
        public int UserType { get; set; }

        /// <summary>
        /// 直接主管 （OKR专用）
        /// </summary>
        public int DirectSupervisor { get; set; }
    }
}
