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.
This commit is contained in:
tekh 2025-12-03 13:20:46 +01:00
parent 4e107d928e
commit 94561fe014

View File

@ -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<RecAction> repo) : IRequestHandler<CreateRecActionCommand>