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

namespace Ropin.Inspection.Model.ViewModel
{
    public class TsysUserDetailViewModel : BaseViewModel
    {
        public Guid C_UserID { get; set; }
        public string C_LicenseCode { get; set; }
        public string C_Post { get; set; }
        public string C_UserName { get; set; }
        public string C_WechatID { get; set; }
        public string C_WxopenID { get; set; }
        public string C_ProgramID { get; set; }
        //public string C_Password { get; set; }
        public string C_Name { get; set; }
        public int I_Render { get; set; }
        public string C_IDNum { get; set; }
        public Guid C_OrgCode { get; set; }
        public string C_ImagePath { get; set; }
        public DateTime? D_Birthday { get; set; }
        public string C_Address { get; set; }
        public int? I_Sort { get; set; }
        public string C_Mobile { get; set; }
        public string C_Phone { get; set; }
        public string C_Email { get; set; }
        public string C_Remark { get; set; }



        //public Guid C_UserID { get; set; }

        //public string C_WechatID { get; set; }
        //public string C_Name { get; set; }

        //public string C_Mobile { get; set; }

        //public string C_Email { get; set; }

        //public string C_Remark { get; set; }

        //public string C_IDNum { get; set; }

        //public string C_ImagePath { get; set; }

        //public DateTime D_Birthday { get; set; }

        //public string C_Address { get; set; }
        //public Guid G_OrganizeCode { get; set; }

        //æƒé™įž–å·
        //public Guid C_PrivilegeCode { get; set; }
        public string RoleIds { get; set; }
        public string RoleNames { get; set; }

        //public IEnumerable<LicenseTypePriv> LicenseTypePrivS { get; set; }
        public IEnumerable<RoleTypePrivTree> RoleTypePrivS { get; set; }

        public string LicenseTypeCode { get; set; }
        public string LicenseTypeName { get; set; }
        public string OrgTypeCode { get; set; }
        public string OrgTypeName { get; set; }
        //public string LicenseCode { get; set; }
        //public string LicenseName { get; set; }
        public IEnumerable<Model.ViewModel.SYS.TSYSRoleHandModel> RoleHandList { get; set; }
    }
    public class LicenseTypePriv
    {
        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 class RoleTypePriv
    {
        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 string LicenseTypeCode { get; set; }
        //public string LicenseTypeName { get; set; }

    }
    public class RoleTypePrivTree
    {
        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<RoleTypePrivTree> Children { get; set; }
        public bool Open { get; set; } = true;
    }
}