2022-10-18 19:27:58 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
namespace Yi.Framework.Model.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 商品分类表
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
public partial class CategoryEntity:IBaseModelEntity
|
|
|
|
|
|
{
|
|
|
|
|
|
[SugarColumn(IsIgnore = true)]
|
2022-10-19 19:10:48 +08:00
|
|
|
|
public List<CategoryEntity>? Children { get; set; }
|
2022-10-18 19:27:58 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Navigate(NavigateType.OneToMany,nameof(SpecsGroupEntity.CategoryId))]
|
2022-10-19 19:10:48 +08:00
|
|
|
|
public List<SpecsGroupEntity>? SpecsGroups { get; set; }
|
2022-10-18 19:27:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|