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

namespace OpenAuth.Repository.Core
{
    public class TreeItemLong
    {
        [SugarColumn(IsTreeKey = true)]
        public long Id { get; set; }
        public string Name { get; set; }
        public long ParentId { get; set; }
        public long Key { get; set; } = 0;
        public string Tag { get; set; }

        public int Level { get; set; }
        public List<TreeItemLong> Children { get; set; }
    }

    
}
