using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using WIDESEA_Core.DB.Models; using WIDESEA_Core.Tenants; namespace WIDESEA_Model.Models { /// /// 角色身份验证管理表 /// [SugarTable("Sys_RoleAuth", "角色身份验证管理"), MultiTenant] public class Sys_RoleAuth : BaseEntity { /// /// 角色身份验证ID /// [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "角色身份验证ID")] public int AuthId { get; set; } /// /// 用户权限 /// [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "用户权限")] public string AuthValue { get; set; } /// /// 菜单ID /// [SugarColumn(IsNullable = false, ColumnDescription = "菜单ID")] public int MenuId { get; set; } /// /// 角色ID /// [SugarColumn(IsNullable = true, ColumnDescription = "角色ID")] public int? RoleId { get; set; } /// /// 用户ID /// [SugarColumn(IsNullable = true, ColumnDescription = "用户ID")] public int? UserId { get; set; } } }