using System;
using SqlSugar;

namespace FactorySystemModel.SqlSugarModel
{
    ///<summary>
    ///用户表
    ///</summary>
    [SugarTable("TUser")]
    public partial class TUser
    {
        public TUser()
        {
            FDockID = "";
        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int FID { get; set; }

        /// <summary>
        /// Desc:工厂ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FFactoryID { get; set; }

        /// <summary>
        /// Desc:用户名
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FUser { get; set; }

        /// <summary>
        /// Desc:姓名
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FName { get; set; }

        /// <summary>
        /// Desc:密码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FPassword { get; set; }

        /// <summary>
        /// Desc:角色ID字符串
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FRoleID { get; set; }

        /// <summary>
        /// Desc:角色名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FRoleName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FSex { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FState { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FPhone { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FEmail { get; set; }
        /// <summary>
        /// Desc:用户类型：1 普通用户、2学校管理员、3超级管理员
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int FUserType { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FRemark { get; set; }

        /// <summary>
        /// Desc:添加人
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FAddUser { get; set; }

        /// <summary>
        /// Desc:添加时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>           
        public DateTime FAddDate { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FEditUser { get; set; }
        /// <summary>
        /// Desc:修改时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>           
        public DateTime FEditDate { get; set; }

        /// <summary>
        /// Desc:最后登录时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>           
        public DateTime? FLoginDate { get; set; }

        /// <summary>
        /// Desc:是否删除
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int FDeleted { get; set; }

        /// <summary>
        /// Desc:对接的ID
        public string FDockID { get; set; }

        public string FFactoryList { get; set; }
        public string FRoleList { get; set; }
    }
}
