Files
Yi.Admin/Yi.Framework.Net6/Yi.Framework.Model/RoleEntity.cs

19 lines
529 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using SqlSugar;
namespace Yi.Framework.Model.Models
{
public partial class RoleEntity
{
2022-09-15 19:45:51 +08:00
2022-04-29 12:38:19 +08:00
[Navigate(typeof(RoleMenuEntity),nameof(RoleMenuEntity.RoleId),nameof(RoleMenuEntity.MenuId))]
2022-10-19 19:10:48 +08:00
public List<MenuEntity>? Menus { get; set; }
2022-09-15 19:45:51 +08:00
[Navigate(typeof(RoleDeptEntity), nameof(RoleDeptEntity.RoleId), nameof(RoleDeptEntity.DeptId))]
2022-10-19 19:10:48 +08:00
public List<DeptEntity>? Depts { get; set; }
}
}