Files
Yi.Framework/Yi.Framework.Net6/Yi.Framework.Model/CategoryEntity.cs
2022-10-19 19:10:48 +08:00

20 lines
536 B
C#

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)]
public List<CategoryEntity>? Children { get; set; }
[Navigate(NavigateType.OneToMany,nameof(SpecsGroupEntity.CategoryId))]
public List<SpecsGroupEntity>? SpecsGroups { get; set; }
}
}