using DS.Module.Core.Data; using System.ComponentModel; namespace DS.WMS.Core.System.Entity; /// /// 用户实体 /// [SqlSugar.SugarTable("sys_user")] public class SysUser : UserTenantModel { /// /// 登陆账号 /// [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("电话")] public string Phone { get; set; } /// /// 邮箱 /// [Description("邮箱")] public string Email { get; set; } /// /// 职位 /// [Description("职位")] public string Duty { get; set; } /// /// 用户类型 0-超管 1-管理员 2-普通用户 3- 租户申请 /// [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; } /// /// ClientId /// [Description("客户Id")] public string ClientId { get; set; } /// /// 是否限制客户 /// [Description("是否限制客户")] public bool IsLimitClient { get; set; } }