Add project files.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Lib.Architecture.BuildingBlocks;
|
||||
|
||||
namespace Core.Blueprint.Application.UsesCases.KeyVault.Input
|
||||
{
|
||||
public class CreateSecretRequest : Notificator, ICommand
|
||||
{
|
||||
public string Name { get; set; } = null!;
|
||||
|
||||
public string Value { get; set; } = null!;
|
||||
|
||||
public bool Validate()
|
||||
{
|
||||
return !string.IsNullOrEmpty(Name) && !string.IsNullOrEmpty(Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user