Files
Core.Blueprint.Service/Core.Blueprint.Application/UsesCases/SQL/Input/UpdateSqlSampleRequest.cs
2025-05-18 15:49:46 -06:00

23 lines
775 B
C#

using Core.Blueprint.Service.External.Clients.Adapters;
using Lib.Architecture.BuildingBlocks;
namespace Core.Blueprint.Application.UsesCases.SQL.Input
{
public class UpdateSqlSampleRequest : Notificator, ICommand
{
public string Name { get; set; } = null!;
public string Description { get; set; } = null!;
public int Id { get; set; }
public string Guid { get; set; } = null!;
public DateTime CreatedAt { get; set; }
public string? CreatedBy { get; set; }
public DateTime? UpdatedAt { get; set; }
public string? UpdatedBy { get; set; }
public StatusEnum Status { get; set; }
public bool Validate()
{
return Guid != null && Guid != string.Empty;
}
}
}