You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
601 B

using SqlSugar;
using System;
using System.Collections.Generic;
namespace Tiobon.Core.Model
{
/// <summary>
/// 路由菜单表
/// </summary>
public class PermissionRoot<Tkey> : RootEntityTkey<Tkey> where Tkey : IEquatable<Tkey>
{
/// <summary>
/// 上一级菜单(0表示上一级无菜单)
/// </summary>
public Tkey Pid { get; set; }
/// <summary>
/// 接口api
/// </summary>
public Tkey Mid { get; set; }
[SugarColumn(IsIgnore = true)]
public List<Tkey> PidArr { get; set; }
}
}