using OpenAuth.Repository.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Repository.Domain
{
    [SugarTable("sys_dataitem")]
    public class SysDataItem
    {
        #region 实体成员
        /// <summary>
        /// 分类主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string ItemId { get; set; }
        /// <summary>
        /// 父级主键
        /// </summary>
        public string ParentId { get; set; }
        /// <summary>
        /// 分类编码
        /// </summary>
        public string ItemCode { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 树型结构
        /// </summary>
        public int? IsTree { get; set; }
        /// <summary
        /// 导航标记
        /// </summar
        public int? IsNav { get; set; }
        /// <summary
        /// 排序码
        /// </summar
        public int? SortCode { get; set; }
        /// <summary
        /// 删除标记
        /// </summar
        public int? DeleteMark { get; set; }
        /// <summary
        /// 有效标志
        /// </summar
        public int? EnabledMark { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 创建用户主键
        /// </summary>
        public string CreateUserId { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改用户主键
        /// </summary>
        public string ModifyUserId { get; set; }
        /// <summary>
        /// 修改用户
        /// </summary>
        public string ModifyUserName { get; set; }
        #endregion

        /// <summary>
        /// 是否可编辑 0 表示不可编辑 其它值都可编辑
        /// </summary>
        public int? IsEdit { get; set; }
    }
}
