Core.Thalos.Service.API/Core.Thalos.Application/UseCases/Modules/Input/CreateModuleRequest.cs
2025-07-27 19:33:19 -06:00

21 lines
588 B
C#

using Core.Thalos.BuildingBlocks;
using Lib.Architecture.BuildingBlocks;
namespace Core.Thalos.Application.UseCases.Modules.Input
{
public class CreateModuleRequest : Notificator, ICommand
{
public string Name { get; set; } = null!;
public string? Description { get; set; }
public string? Icon { get; set; }
public string? Route { get; set; }
public int? Order { get; set; }
public ApplicationsEnum? Application { get; set; } = null!;
public bool Validate()
{
return Name != null;
}
}
}