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.
20 lines
475 B
20 lines
475 B
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Tiobon.Core.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; }
|
|
}
|
|
}
|
|
|