using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Model { public class TsysUserRoleViewModel : BaseViewModel { public Guid C_UserCode { get; set; } public Guid C_RoleCode { get; set; } } public class TsysRolePrivViewModel : BaseViewModel { public Guid C_RoleCode { get; set; } public string C_PrivilegeCode { get; set; } public Guid C_CreateBy { get; set; } public DateTime D_CreateOn { get; set; } public int? I_Type { get; set; } } public class RolePrivViewModel : BaseViewModel { public IEnumerable RolePrivS { get; set; } public string RoleCode { get; set; } } public class RolePrivTree { 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 Children { get; set; } public bool Open { get; set; } = true; } }