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

namespace Ewide.Core.Service.User.Dto
{
    public class OrgUserTreeNode : ITreeNode
    {
        public string Id { get; set; }
        public string ParentId { get; set; }
        public string Name { get; set; }
        public int Type { get; set; }
        public List<OrgUserTreeNode> Children { get; set; }
        public string GetId() => Id;
        public string GetPid() => ParentId;
        public void SetChildren(IList children)
        {
            Children = (List<OrgUserTreeNode>)children;
        }
    }
}