22 lines
		
	
	
		
			695 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			695 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Core.Thalos.Adapters.Common.Enums;
 | |
| using Lib.Architecture.BuildingBlocks;
 | |
| 
 | |
| namespace Core.Thalos.Application.UseCases.Modules.Input
 | |
| {
 | |
|     public class UpdateModuleRequest : Notificator, ICommand
 | |
|     {
 | |
|         public string Id { get; set; } = null!;
 | |
|         public string Name { get; set; } = null!;
 | |
|         public string? Description { get; set; }
 | |
|         public string? Icon { get; set; }
 | |
|         public string Route { get; set; } = null!;
 | |
|         public int? Order { get; set; }
 | |
|         public ApplicationsEnum? Application { get; set; } = null!;
 | |
|         public StatusEnum Status { get; set; }
 | |
|         public bool Validate()
 | |
|         {
 | |
|             return Id != null;
 | |
|         }
 | |
|     }
 | |
| }
 | 
