Add CreateResultViewCommand class for result view creation
Introduced CreateResultViewCommand in the ReC.Application.ResultViews.Commands namespace. This class includes properties for ActionId, StatusCode, Header, Body, and AddedWho, and will be used as a command or DTO for creating ResultView entities.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace ReC.Application.ResultViews.Commands;
|
||||
|
||||
public class CreateResultViewCommand
|
||||
{
|
||||
public required long ActionId { get; set; }
|
||||
|
||||
public required short StatusCode { get; set; }
|
||||
|
||||
public string? Header { get; set; }
|
||||
|
||||
public string? Body { get; set; }
|
||||
|
||||
public string AddedWho { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user