From b6ab59ae4a3cc4d72903c696f45099ad4fe70499 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 17 Dec 2025 10:13:33 +0100 Subject: [PATCH] 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. --- .../Commands/CreateResultViewCommand.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/ReC.Application/ResultViews/Commands/CreateResultViewCommand.cs diff --git a/src/ReC.Application/ResultViews/Commands/CreateResultViewCommand.cs b/src/ReC.Application/ResultViews/Commands/CreateResultViewCommand.cs new file mode 100644 index 0000000..0681acd --- /dev/null +++ b/src/ReC.Application/ResultViews/Commands/CreateResultViewCommand.cs @@ -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!; +} \ No newline at end of file