using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.Repository.Data
{
    public class UserPower : EntityBase
    {
        public int id { get; set; }

        public string name { get; set; }

        public string description { get; set; }

        public string value { get; set; }

        public string parent { get; set; }

        public string parentvalue { get; set; }

        public string Checked { get;set; }

        public int status { get; set; }

        public int sorting { get; set; }

        public int type { get; set; }

        public string icon { get; set; }

        public string url { get; set; }

        public List<UserPower>  children { get; set; }
    }
    public class ResponseUserPower
    {
        public int id { get; set; }
        public int type { get; set; }
        public string title { get; set; }
        public string description { get; set; }
        public bool expand { get; set; } = false;
        public bool @checked { get; set; } = false;
        public List<ResponseUserPower> children { get; set; }
    }
}
