using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
namespace ZR.Model.System
{
///
/// 文章目录
///
[SugarTable("articleCategory")]
[Tenant("0")]
public class ArticleCategory
{
///
/// 目录id
///
[SugarColumn(IsPrimaryKey = true, ColumnName = "Category_id")]
public int CategoryId { get; set; }
public string Name { get; set; }
public int ParentId { get; set; }
[SugarColumn(ColumnName = "create_time", IsNullable = true)]
public DateTime? CreateTime { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
[SugarColumn(IsIgnore = true)]
public List Children { get; set; }
}
}