mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 08:10:51 +08:00
18 lines
372 B
C#
18 lines
372 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Yi.Framework.Common.Models
|
|
{
|
|
public interface ITreeModel<T>
|
|
{
|
|
public int Id { get; set; }
|
|
public int ParentId { get; set; }
|
|
public int Sort { get; set; }
|
|
|
|
public IList<T> Children { get; set; }
|
|
}
|
|
}
|