mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Update demo
This commit is contained in:
@@ -17,4 +17,17 @@ namespace OrmTest
|
||||
[SqlSugar.SugarColumn(IsIgnore = true)]
|
||||
public List<Tree> Child { get; set; }
|
||||
}
|
||||
|
||||
[SqlSugar.SugarTable("Tree")]
|
||||
public class Tree2
|
||||
{
|
||||
[SqlSugar.SugarColumn(IsTreeKey =true)]
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int ParentId { get; set; }
|
||||
[SqlSugar.SugarColumn(IsIgnore = true)]
|
||||
public Tree Parent { get; set; }
|
||||
[SqlSugar.SugarColumn(IsIgnore = true)]
|
||||
public List<Tree2> Child { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user