21 lines
473 B
C#
21 lines
473 B
C#
using SqlSugar;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
|
||
namespace DouyinApi.Model
|
||
{
|
||
/// <summary>
|
||
/// 部门表
|
||
/// </summary>
|
||
public class DepartmentRoot<Tkey> : RootEntityTkey<Tkey> where Tkey : IEquatable<Tkey>
|
||
{
|
||
/// <summary>
|
||
/// 上一级(0表示无上一级)
|
||
/// </summary>
|
||
public Tkey Pid { get; set; }
|
||
|
||
[SugarColumn(IsIgnore = true)]
|
||
public List<Tkey> PidArr { get; set; }
|
||
}
|
||
}
|