shgx_tz_mom/ZR.Model/System/ArticleCategory.cs

25 lines
594 B
C#
Raw Normal View History

2021-08-23 16:57:25 +08:00
using Newtonsoft.Json;
2021-11-27 09:43:04 +08:00
using SqlSugar;
2021-08-23 16:57:25 +08:00
using System;
using System.Collections.Generic;
using System.Text;
namespace ZR.Model.System
{
/// <summary>
/// 文章目录
/// </summary>
2021-11-27 09:43:04 +08:00
[SugarTable("articleCategory")]
[Tenant("0")]
2021-08-23 16:57:25 +08:00
public class ArticleCategory
{
public int Category_Id { get; set; }
public string Name { get; set; }
public int ParentId { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
2021-11-27 09:43:04 +08:00
[SugarColumn(IsIgnore = true)]
2021-08-23 16:57:25 +08:00
public List<ArticleCategory> Children { get; set; }
}
}