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:
parent
4e107d928e
commit
94561fe014
@ -21,6 +21,8 @@ public record CreateRecActionCommand : IRequest
|
|||||||
public string? HeaderQuery { get; init; }
|
public string? HeaderQuery { get; init; }
|
||||||
|
|
||||||
public string BodyQuery { get; init; } = null!;
|
public string BodyQuery { get; init; } = null!;
|
||||||
|
|
||||||
|
public byte Sequence { get; set; } = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CreateRecActionCommandHandler(ISender sender, IRepository<RecAction> repo) : IRequestHandler<CreateRecActionCommand>
|
public class CreateRecActionCommandHandler(ISender sender, IRepository<RecAction> repo) : IRequestHandler<CreateRecActionCommand>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user