//-----------------------------------------------------------------------
// <copyright file=" sys_user.cs">
// * FileName: .cs 
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Performance.EntityModels
{
    /// <summary>
    /// 
    /// </summary>
    [Table("sys_user")]
    public class sys_user
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int ID { get; set; }

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

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

        /// <summary>
        /// 真实名称
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 登录名称
        /// </summary>
        public string Login { get; set; }

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

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

        /// <summary>
        /// 用户状态 1启用 2禁用
        /// </summary>
        public Nullable<int> States { get; set; }

        /// <summary>
        /// 用户科室
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 删除状态 1可用 2删除
        /// </summary>
        public Nullable<int> IsDelete { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public Nullable<int> ParentID { get; set; }
    }
}
