Add CreateRecActionCommand record for RecActions
Introduced a new namespace `ReC.Application.RecActions.Commands` and added the `CreateRecActionCommand` record. This record includes properties such as `ProfileId`, `Active`, `EndpointId`, `Type`, `HeaderQuery`, and `BodyQuery` to encapsulate the necessary data for creating RecActions. Default values were provided for `Active`, `Type`, and `BodyQuery` to streamline initialization.
This commit is contained in:
parent
86e599a102
commit
9b22987397
@ -0,0 +1,16 @@
|
||||
namespace ReC.Application.RecActions.Commands;
|
||||
|
||||
public record CreateRecActionCommand
|
||||
{
|
||||
public long ProfileId { get; init; }
|
||||
|
||||
public bool Active { get; init; } = true;
|
||||
|
||||
public long EndpointId { get; init; }
|
||||
|
||||
public string Type { get; init; } = "GET";
|
||||
|
||||
public string? HeaderQuery { get; init; }
|
||||
|
||||
public string BodyQuery { get; init; } = "SELECT NULL AS REQUEST_BODY;";
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user