namespace Admin.NET.Core;
///
/// 系统角色菜单表
///
[SugarTable(null, "系统角色菜单表")]
[SystemTable]
public class SysRoleMenu : EntityBaseId
{
///
/// 角色Id
///
[SugarColumn(ColumnDescription = "角色Id")]
public long RoleId { get; set; }
///
/// 菜单Id
///
[SugarColumn(ColumnDescription = "菜单Id")]
public long MenuId { get; set; }
///
/// 菜单
///
[SugarColumn(IsIgnore = true)]
[Navigate(NavigateType.OneToOne, nameof(MenuId))]
public SysMenu SysMenu { get; set; }
}