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

namespace Ropin.Inspection.Model
{
    public class LicenseTypePrivViewModel : BaseViewModel
    {
        public string C_LicenseTypeCode { get; set; }
        public string C_PrivilegeCode { get; set; }
        public Guid C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
    }
    public class TsysLicenseTypePrivViewModel:BaseViewModel
    {
        public IEnumerable<LicenseTypePrivTree> LicenseTypePrivS { get; set; }

        public string LicenseTypeCode { get; set; }
        //public string LicenseTypeName { get; set; }
    }
    public class LicenseTypePrivTree
    {
        public string C_Code { get; set; }
        public string C_ParentCode { get; set; }
        public string C_Module { get; set; }
        public string C_Type { 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 List<LicenseTypePrivTree> Children { get; set; }
        public bool Open { get; set; } = true;
    }
}