70 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			70 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
using APT.BaseData.Domain.Entities.FM;
 | 
						|
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Linq;
 | 
						|
using System.Text;
 | 
						|
using System.Threading.Tasks;
 | 
						|
 | 
						|
namespace APT.BaseData.Domain.ApiModel
 | 
						|
{
 | 
						|
 | 
						|
	public class RolePermissionFormResultModel
 | 
						|
	{
 | 
						|
		public RolePermissionFormResultModel()
 | 
						|
		{
 | 
						|
			this.Forms = new List<RolePermissionFormModel>();
 | 
						|
		}
 | 
						|
		public int TotalCount { get; set; }
 | 
						|
 | 
						|
		public List<RolePermissionFormModel> Forms { get; set; }
 | 
						|
 | 
						|
	}
 | 
						|
 | 
						|
	public class RolePermissionFormBtnTempModel
 | 
						|
	{
 | 
						|
		public RolePermissionFormBtnTempModel()
 | 
						|
		{
 | 
						|
			
 | 
						|
		}
 | 
						|
 | 
						|
		public string Title { get; set; }
 | 
						|
 | 
						|
	}
 | 
						|
 | 
						|
	public class RolePermissionFormModel
 | 
						|
	{ 
 | 
						|
		public RolePermissionFormModel()
 | 
						|
		{
 | 
						|
			this.Nav_Btns = new List<RolePermissionFormBtnModel>();
 | 
						|
			this.Nav_Columns = new List<RolePermissionFormColumnModel>();
 | 
						|
		}
 | 
						|
		public Guid ID { get; set; }
 | 
						|
		public bool IsCheck { get; set; }
 | 
						|
		public string Title { get; set; }
 | 
						|
        public string Code { get; set; }
 | 
						|
 | 
						|
        public T_FM_ROLE_MENU_PERM Permission { get; set; }
 | 
						|
 | 
						|
		public virtual ICollection<RolePermissionFormBtnModel> Nav_Btns { get; set; }
 | 
						|
		public virtual ICollection<RolePermissionFormColumnModel> Nav_Columns { get; set; }
 | 
						|
 | 
						|
	}
 | 
						|
 | 
						|
	public class RolePermissionFormBtnModel
 | 
						|
	{
 | 
						|
		public bool IsCheck { get; set; }
 | 
						|
		public string Title { get; set; }
 | 
						|
 | 
						|
		public virtual T_FM_ROLE_MENU_PERM_BTN Btn { get; set; }
 | 
						|
	}
 | 
						|
 | 
						|
	public class RolePermissionFormColumnModel
 | 
						|
	{
 | 
						|
		public bool IsCheck { get; set; }
 | 
						|
		public string Title { get; set; }
 | 
						|
		public virtual T_FM_ROLE_MENU_PERM_COL Column { get; set; }
 | 
						|
	}
 | 
						|
 | 
						|
 | 
						|
}
 |