using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.App.Request
{
    public class Category
    {
        /// <summary>
        /// Desc:创建时间
        /// Default:CURRENT_TIMESTAMP
        /// Nullable:False
        /// </summary>           
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Desc:创建人ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string CreateUserId { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string CreateUserName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Description { get; set; }

        /// <summary>
        /// Desc:分类标识
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string DtCode { get; set; }

        /// <summary>
        /// Desc:通常与分类标识一致，但万一有不一样的情况呢？
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string DtValue { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int? Enable { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Id { get; set; }

        /// <summary>
        /// Desc:分类名称或描述
        /// Default: 
        /// Nullable:False
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:排序号
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int? SortNo { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string TypeId { get; set; }

        /// <summary>
        /// Desc:最后更新时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// Desc:最后更新人ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string UpdateUserId { get; set; }

        /// <summary>
        /// Desc:最后更新人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string UpdateUserName { get; set; }

        /// <summary>
        /// Desc:父级Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string PId { get; set; }

    }
}
