using Edu.Common.Enum;
using Edu.Common.Enum.User;
using System;
using VT.FW.DB;

namespace Edu.Model.Entity.User
{
    /// <summary>
    /// 管理者实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Manager
    {
		/// <summary>
		/// 主键(管理者编号)
		/// </summary>
		public int MId { get; set; }

		/// <summary>
		/// 管理者姓名
		/// </summary>
		public string MName { get; set; }

		/// <summary>
		/// 讲师手机号码
		/// </summary>
		public string MTel { get; set; }

		/// <summary>
		/// 讲师头像
		/// </summary>
		public string MHead { get; set; }

		/// <summary>
		/// 创建人
		/// </summary>
		public int CreateBy { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 修改人
		/// </summary>
		public int UpdateBy { get; set; }

		/// <summary>
		/// 更新时间
		/// </summary>
		public DateTime UpdateTime { get; set; }

		/// <summary>
		/// 集团编号
		/// </summary>
		public int Group_Id { get; set; }

		/// <summary>
		/// 学校编号
		/// </summary>
		public int School_Id { get; set; }

		/// <summary>
		/// 删除状态
		/// </summary>
		public DateStateEnum Status { get; set; }

		/// <summary>
		/// 部门编号
		/// </summary>
		public int Dept_Id { get; set; }

		/// <summary>
		///  岗位编号
		/// </summary>
		public int Post_Id { get; set; }

		/// <summary>
		/// 省份证号码
		/// </summary>
		public string IDCard { get; set; }

		/// <summary>
		/// 性别(0-男,1-女)
		/// </summary>
		public int Sex { get; set; }

		/// <summary>
		/// 学历
		/// </summary>
		public EducationEnum Education { get; set; }

		/// <summary>
		/// 入职时间
		/// </summary>
		public DateTime EntryTime { get; set; }

		/// <summary>
		/// 地址
		/// </summary>
		public string Address { get; set; }

		/// <summary>
		/// 生日
		/// </summary>
		public DateTime BirthDate { get; set; }

		/// <summary>
		/// 在职状态
		/// </summary>
		public LeaveStatusEnum LeaveStatus { get; set; }

		/// <summary>
		/// 离职时间
		/// </summary>
		public DateTime? LeaveTime { get; set; }

		/// <summary>
		/// 邮箱
		/// </summary>
		public string Email { get; set; }

		/// <summary>
		/// 用户角色(1-市场人员，2-课程顾问)
		/// </summary>
		public UserRoleEnum UserRole { get; set; }

		/// <summary>
		/// 是否是电话客服
		/// </summary>
		public int IsTenCccUser { get; set; }
	}
}
