namespace Ds.Modules.DsEntity.Auth { /// /// 用户表 /// [SqlSugar.SugarTable("Ds_Sys_Users")] public class Ds_Sys_Users : BaseEntityTenant { ///// ///// 用户GID ///// //[Description("主键Id")] //public Guid? GID { get; set; } /// /// 登陆账号 /// [Description("登陆账号")] public string UserCode { get; set; } /// /// 密码 /// [Description("密码")] public string Password { get; set; } /// ///姓名 /// [Description("姓名")] public string UserName { get; set; } /// /// 性别 1-男 2-女 3 -未知 /// [Description("性别")] public int Sex { get; set; } = 1; /// ///拼音码 /// [Description("拼音码")] public string PinYinCode { get; set; } /// ///秘钥 /// [Description("秘钥")] public string Secret { get; set; } /// /// /// [Description("昵称")] public string NickName { get; set; } /// /// /// [Description("头像")] public string Avatar { get; set; } /// /// /// [Description("生日")] public DateTime? Birthday { get; set; } /// ///秘钥 /// [Description("MD5密码")] public string MD5Password { get; set; } /// /// 电话 /// [Description("电话")] [IsPhone] public string Phone { get; set; } /// /// 邮箱 /// [Description("邮箱")] [IsEmail] public string Email { get; set; } /// /// 职位 /// [Description("职位")] public string Duty { get; set; } /// /// 用户类型 0-普通用户 1-管理员 /// [Description("用户类型")] public int UserType { get; set; } = 0; /// /// 状态 /// [Description("状态")] public int Status { get; set; } /// /// 权限身份 0: 无; 1:客户端; 2:市平台:3:省平台 /// [Description("权限身份")] public int PermissionIdentity { get; set; } /// /// 公司Id /// [Description("公司Id")] public string CompanyId { get; set; } ///// ///// 租户Id ///// //[Description("租户Id")] //public string TenantId { get; set; } /// /// ClientId /// [Description("客户Id")] public string ClientId { get; set; } /// /// 是否限制客户 /// [Description("是否限制客户")] public bool IsLimitClient { get; set; } //身份 租户管理员 租户普通用户 平台管理员 } }