using SqlSugar; namespace EntrustSettle.Model.Models { /// /// 按钮跟权限关联表 /// public class RoleModulePermission : BaseEntity { public RoleModulePermission() { } // 下边三个实体参数,只是做传参作用,所以忽略下 [SugarColumn(IsIgnore = true)] public Role Role { get; set; } [SugarColumn(IsIgnore = true)] public Modules Module { get; set; } /// /// 角色ID /// public long RoleId { get; set; } /// /// 菜单ID /// public long ModuleId { get; set; } /// /// api ID /// [SugarColumn(IsNullable = true)] public long PermissionId { get; set; } } }