重构优化框架
这是一个大版本的更新 现在,框架更加稳定
This commit is contained in:
@@ -1,15 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Model.Models
|
||||
{
|
||||
public class loopModel:baseModel<int>
|
||||
public class loopModel<T>:baseModel<int>
|
||||
{
|
||||
public int is_top { get; set; }
|
||||
public int sort { get; set; }
|
||||
public int is_show { get; set; }
|
||||
public int parentId { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public IList<T> children { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user