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

namespace Ropin.Inspection.Model.ViewModel.SYS
{
    public class TsysPrivViewModel : BaseViewModel
    {
        public string C_Code { get; set; }
        public string C_ParentCode { get; set; }
        public string C_Module { get; set; }
        public string C_ModuleName { get; set; }
        public string C_Type { get; set; }
        public string C_TypeName { get; set; }
        public string C_Name { get; set; }
        public int? I_Sort { get; set; }
        public string C_ImageUrl { get; set; }
        public string C_PageUrl { get; set; }
        public string C_Remark { get; set; }
        public string C_Status { get; set; }
    }
    public class TsysPrivTreeModel
    {
        public string C_Code { get; set; }
        public string C_ParentCode { get; set; }
        public string C_Module { get; set; }
        public string C_ModuleName { get; set; }
        public string C_Type { get; set; }
        public string C_TypeName { get; set; }
        public string C_Name { get; set; }
        public int? I_Sort { get; set; }
        public string C_ImageUrl { get; set; }
        public string C_PageUrl { get; set; }
        public string C_Remark { get; set; }
        public string C_Status { get; set; }
        public List<TsysPrivTreeModel> Children { get; set; }
        public bool Open { get; set; } = true;
    }
    public class TsysPrivSearch: BaseSearchModel
    {
        public string C_Name { get; set; }
        public string C_ParentCode { get; set; }
        public string C_Status { get; set; }
    }
}