using QYZH.InteractiveMagazine.Models.Enum;
using SqlSugar;
using System;
using System.Linq;
using System.Text;

namespace QYZH.InteractiveMagazine.Models.Entity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("JournalCatalog")]
    public partial class JournalCatalog : SqlSugarBaseEntity
    {
           public JournalCatalog(){


           }


           /// <summary>
           /// Desc:书id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long JournalId {get;set;}

           /// <summary>
           /// Desc:目录名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Name {get;set;}

           /// <summary>
           /// Desc:父id;无限级别
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long ParentId {get;set;}

           /// <summary>
           /// Desc:等级
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int Level {get;set;}

           /// <summary>
           /// Desc:排序
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int Sort {get;set;}

           /// <summary>
           /// Desc:乐观锁
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int Revision {get;set;}

           /// <summary>
           /// Desc:类别:0-单元 1-页
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public JournalCatalogTypeEnum Type {get;set;}


    }
}
