| 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 | 
| { | 
|     /// <summary> | 
|     /// 角色身份验证管理表 | 
|     /// </summary> | 
|     [SugarTable("Sys_RoleAuth", "角色身份验证管理"), MultiTenant] | 
|     public class Sys_RoleAuth : BaseEntity | 
|     { | 
|         /// <summary> | 
|         /// 角色身份验证ID | 
|         /// </summary> | 
|         [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "角色身份验证ID")] | 
|         public int AuthId { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 用户权限 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "用户权限")] | 
|         public string AuthValue { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 菜单ID | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, ColumnDescription = "菜单ID")] | 
|         public int MenuId { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 角色ID | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = true, ColumnDescription = "角色ID")] | 
|         public int? RoleId { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 用户ID | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = true, ColumnDescription = "用户ID")] | 
|         public int? UserId { get; set; } | 
|     } | 
| } |