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