Files
Api/DouyinApi.Model/Models/RootTkey/PermissionRoot.cs

28 lines
599 B
C#
Raw Normal View History

2025-11-04 21:09:16 +08:00
using SqlSugar;
using System;
using System.Collections.Generic;
namespace DouyinApi.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; }
}
}