namespace YY.Admin.Core;
///
/// 系统角色机构表
///
[SugarTable("sys_role_org", "系统角色机构表")]
[SysTable]
public class SysRoleOrg : EntityBaseId
{
///
/// 角色Id
///
[SugarColumn(ColumnDescription = "角色Id")]
public long RoleId { get; set; }
///
/// 机构Id
///
[SugarColumn(ColumnDescription = "机构Id")]
public long OrgId { get; set; }
///
/// 机构
///
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]
[Navigate(NavigateType.OneToOne, nameof(OrgId))]
public SysOrg SysOrg { get; set; }
}