17 lines
391 B
C#
17 lines
391 B
C#
using Lib.Architecture.BuildingBlocks;
|
|
|
|
namespace Core.Blueprint.Application.UsesCases.Mongo.Input
|
|
{
|
|
public class CreateBlueprintRequest : Notificator, ICommand
|
|
{
|
|
public string Name { get; set; } = null!;
|
|
|
|
public string? Description { get; set; }
|
|
|
|
public bool Validate()
|
|
{
|
|
return Name != null && Name != string.Empty;
|
|
}
|
|
}
|
|
}
|