Refactor InsertResultCommand to use Status enum
Replaced StatusId (short?) with Status (Status?) in InsertResultCommand, moving from a numeric status identifier to a more descriptive or structured status representation from ReC.Domain.Constants.
This commit is contained in:
@@ -7,7 +7,7 @@ namespace ReC.Application.Results.Commands;
|
|||||||
public record InsertResultCommand : IInsertProcedure
|
public record InsertResultCommand : IInsertProcedure
|
||||||
{
|
{
|
||||||
public long? ActionId { get; set; }
|
public long? ActionId { get; set; }
|
||||||
public short? StatusId { get; set; }
|
public Status? Status { get; set; }
|
||||||
public string? Header { get; set; }
|
public string? Header { get; set; }
|
||||||
public string? Body { get; set; }
|
public string? Body { get; set; }
|
||||||
public string? Info { get; set; }
|
public string? Info { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user