From a5b2428bc6ebac0210e4c552f61e7c5e1f1c9134 Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期四, 24 十一月 2022 15:25:48 +0800 Subject: [PATCH] 优化多项 --- web/Model/Model/SysUser.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/web/Model/Model/SysUser.cs b/web/Model/Model/SysUser.cs index c343d7b..f2e474f 100644 --- a/web/Model/Model/SysUser.cs +++ b/web/Model/Model/SysUser.cs @@ -14,6 +14,10 @@ public string Password { get; set; } + public string Salt { get; set; } //鍔犲瘑鐩� + + public string UserName { get; set; } + public DateTime ExpireTime { get; set; } public DateTime CreateTime { get; set; } @@ -36,6 +40,13 @@ public string ClientIp { get; set; } + public int Status { get; set; } + + //public int UserType { get; set; } //鐢ㄦ埛绫诲瀷锛屽涓椂浠モ��,鈥濆垎闅旓細1-绠$悊鍛�;2-涓氬姟鍛�--鍏ㄥ憳;3-瀹㈡埛缁忕悊;4-瀹㈡湇浜哄憳;5-璐㈠姟浜哄憳 + public string UserType { get; set; } //鍏宠仈瀛楀吀鏁版嵁琛ㄧ殑绫诲瀷涓猴細USER_ROLE銆傚涓鑹叉椂浠ュ崐瑙掆��,鈥濆垎闅斻�� + + public string RoleNames { get; set; } //瑙掕壊鍚嶇О锛氬涓鑹叉椂浠ュ崐瑙掆��,鈥濆垎闅斻�� + public Dictionary<string, SysUserMenu> MenuIDList { get; set; } public bool HasRight(string code) -- Gitblit v1.9.1