diff --git a/src/ReC.Application/Common/Dto/OutResDto.cs b/src/ReC.Application/Common/Dto/OutResDto.cs index bad5f79..87a2820 100644 --- a/src/ReC.Application/Common/Dto/OutResDto.cs +++ b/src/ReC.Application/Common/Dto/OutResDto.cs @@ -1,10 +1,26 @@ -namespace ReC.Application.Common.Dto; +using ReC.Domain.Constants; + +namespace ReC.Application.Common.Dto; public record OutResDto { public long Id { get; set; } - public long ActionId { get; set; } + public long? ActionId { get; set; } + + public RecActionDto? Action { get; set; } + + public long? ProfileId { get; set; } + + public ProfileDto? Profile { get; set; } + + public string? ProfileName { get; set; } + + public short? StatusCode { get; set; } + + public string? StatusName { get; set; } + + public ResultType? Type { get; set; } public string? Header { get; set; } @@ -14,9 +30,9 @@ public record OutResDto public string? Error { get; set; } - public string AddedWho { get; set; } = null!; + public string? AddedWho { get; set; } - public DateTime AddedWhen { get; set; } + public DateTime? AddedWhen { get; set; } public string? ChangedWho { get; set; }