From 94561fe0143baaae3603ef4166aed04326f10cda Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 3 Dec 2025 13:20:46 +0100 Subject: [PATCH] Add Sequence property to CreateRecActionCommand A new `Sequence` property of type `byte` was added to the `CreateRecActionCommand` record. It is initialized with a default value of `1` and includes a `set` accessor, making it mutable. This property allows the record to store or manipulate sequence-related information, enhancing its functionality. --- .../RecActions/Commands/CreateRecActionCommand.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs b/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs index e83ef01..0530c2a 100644 --- a/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs +++ b/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs @@ -21,6 +21,8 @@ public record CreateRecActionCommand : IRequest public string? HeaderQuery { get; init; } public string BodyQuery { get; init; } = null!; + + public byte Sequence { get; set; } = 1; } public class CreateRecActionCommandHandler(ISender sender, IRepository repo) : IRequestHandler