增加项目,分层
This commit is contained in:
1 parent
6e995a5bdb
commit
0a3e5af6a9
234 files changed
+26994
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Store.Framework.Models.Product;
|
||||
|
||||
/// <summary>
|
||||
/// 商品类目
|
||||
/// </summary>
|
||||
public class CategoryModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int ParentId { get; set; }
|
||||
public int MainCatId { get; set; }
|
||||
|
||||
public List<CategoryModel> Childs { get; set; }
|
||||
public CategoryModel()
|
||||
{
|
||||
Childs = new List<CategoryModel>();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user