SysRoleOrg.cs 607 B

123456789101112131415161718192021222324252627
  1. namespace Admin.NET.Core;
  2. /// <summary>
  3. /// 系统角色机构表
  4. /// </summary>
  5. [SugarTable("sys_role_org", "系统角色机构表")]
  6. [SqlSugarEntity]
  7. public class SysRoleOrg : EntityBaseId
  8. {
  9. /// <summary>
  10. /// 角色Id
  11. /// </summary>
  12. [SugarColumn(ColumnDescription = "角色Id")]
  13. public long RoleId { get; set; }
  14. /// <summary>
  15. /// 机构Id
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "机构Id")]
  18. public long OrgId { get; set; }
  19. /// <summary>
  20. /// 机构
  21. /// </summary>
  22. [SugarColumn(IsIgnore = true)]
  23. public SysOrg SysOrg { get; set; }
  24. }