Files
Api/DouyinApi.Model/Models/RootTkey/PermissionRoot.cs
2025-11-04 21:09:16 +08:00

28 lines
599 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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; }
}
}