init
This commit is contained in:
20
DouyinApi.Model/Models/RootTkey/DepartmentRoot.cs
Normal file
20
DouyinApi.Model/Models/RootTkey/DepartmentRoot.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user