31 lines
		
	
	
		
			661 B
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			661 B
		
	
	
	
		
			C#
		
	
	
using System;
 | 
						|
 | 
						|
namespace IRaCIS.Application.Contracts
 | 
						|
{
 | 
						|
    public class RoleDTO
 | 
						|
    {
 | 
						|
        public Guid? Id { get; set; } = Guid.Empty;
 | 
						|
        public string RoleName { get; set; } = string.Empty;
 | 
						|
        public string RoleDescription { get; set; } = string.Empty;
 | 
						|
        public int PrivilegeLevel { get; set; }
 | 
						|
    }
 | 
						|
 | 
						|
    public class UserRoleSelectDTO
 | 
						|
    {
 | 
						|
        public Guid userId { get; set; }
 | 
						|
        public Guid roleId { get; set; }
 | 
						|
        public bool isSelect { get; set; }
 | 
						|
    }
 | 
						|
 | 
						|
 | 
						|
    public class UserSelectRoleDTO : RoleDTO
 | 
						|
    {
 | 
						|
        public bool IsSelect { get; set; }
 | 
						|
    }
 | 
						|
 | 
						|
    public class RoleCommand : RoleDTO
 | 
						|
    {
 | 
						|
      
 | 
						|
    }
 | 
						|
}
 |