新增文章目录管理

This commit is contained in:
不做码农
2022-05-13 21:46:27 +08:00
parent 8e24ac205c
commit e8e189b8a8
10 changed files with 666 additions and 85 deletions

View File

@@ -13,9 +13,15 @@ namespace ZR.Model.System
[Tenant("0")]
public class ArticleCategory
{
public int Category_Id { get; set; }
/// <summary>
/// 目录id
/// </summary>
[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")]
public DateTime CreateTime { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
[SugarColumn(IsIgnore = true)]