Platform upgrade: login auth fix, OCR/OSS upload, system menus and dicts, weather dashboard, weighing and invoice modules
This commit is contained in:
@@ -13,8 +13,14 @@ public class User
|
||||
|
||||
public string Phone { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>兼容旧版角色枚举(新体系以 RoleId 为准)</summary>
|
||||
public UserRole Role { get; set; }
|
||||
|
||||
/// <summary>关联角色(RBAC 权限体系)</summary>
|
||||
public int? RoleId { get; set; }
|
||||
|
||||
public SysRole? SysRole { get; set; }
|
||||
|
||||
/// <summary>所属组织(公司管理员→公司;站员工→站;个体→个体组织)</summary>
|
||||
public int? OrgId { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user