24 lines
843 B
C#
24 lines
843 B
C#
using Core.Blueprint.Service.External.Clients.Adapters;
|
|
using Lib.Architecture.BuildingBlocks;
|
|
|
|
namespace Core.Blueprint.Application.UsesCases.SQL.Input
|
|
{
|
|
public class UpdateUserProjectRequest : Notificator, ICommand
|
|
{
|
|
public string ProjectCode { get; set; } = null!;
|
|
public string ProjectDescription { get; set; } = null!;
|
|
public string UserId { 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;
|
|
}
|
|
}
|
|
}
|