重构优化框架
这是一个大版本的更新 现在,框架更加稳定
This commit is contained in:
17
Yi.Framework.Net6/Yi.Framework.Common/Models/ITreeModel.cs
Normal file
17
Yi.Framework.Net6/Yi.Framework.Common/Models/ITreeModel.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user