diff --git a/src/ReC.Application/Common/Procedures/InsertObjectProcedure.cs b/src/ReC.Application/Common/Procedures/InsertObjectProcedure.cs index 9d25064..9996468 100644 --- a/src/ReC.Application/Common/Procedures/InsertObjectProcedure.cs +++ b/src/ReC.Application/Common/Procedures/InsertObjectProcedure.cs @@ -6,6 +6,8 @@ namespace ReC.Application.Common.Procedures; public record InsertObjectProcedure : IRequest { + #region Common + /// /// Target entity: ACTION, ENDPOINT, ENDPOINT_AUTH, ENDPOINT_PARAMS, PROFILE, RESULT /// @@ -14,7 +16,10 @@ public record InsertObjectProcedure : IRequest public string? AddedWho { get; set; } public DateTime? AddedWhen { get; set; } - // ACTION + #endregion + + #region ACTION + public long? ActionProfileId { get; set; } public bool? ActionActive { get; set; } public byte? ActionSequence { get; set; } @@ -29,12 +34,18 @@ public record InsertObjectProcedure : IRequest public string? ActionPostSql { get; set; } public byte? ActionErrorActionId { get; set; } - // ENDPOINT + #endregion + + #region ENDPOINT + public bool? EndpointActive { get; set; } public string? EndpointDescription { get; set; } public string? EndpointUri { get; set; } - // ENDPOINT_AUTH + #endregion + + #region ENDPOINT_AUTH + public bool? EndpointAuthActive { get; set; } public string? EndpointAuthDescription { get; set; } public byte? EndpointAuthTypeId { get; set; } @@ -47,7 +58,10 @@ public record InsertObjectProcedure : IRequest public string? EndpointAuthDomain { get; set; } public string? EndpointAuthWorkstation { get; set; } - // PROFILE + #endregion + + #region PROFILE + public bool? ProfileActive { get; set; } public byte? ProfileTypeId { get; set; } public string? ProfileMandantor { get; set; } @@ -56,19 +70,27 @@ public record InsertObjectProcedure : IRequest public byte? ProfileLogLevelId { get; set; } public short? ProfileLanguageId { get; set; } - // RESULT + #endregion + + #region RESULT + public long? ResultActionId { get; set; } public short? ResultStatusId { get; set; } public string? ResultHeader { get; set; } public string? ResultBody { get; set; } - // ENDPOINT_PARAMS + #endregion + + #region ENDPOINT_PARAMS + public bool? EndpointParamsActive { get; set; } public string? EndpointParamsDescription { get; set; } public short? EndpointParamsGroupId { get; set; } public byte? EndpointParamsSequence { get; set; } public string? EndpointParamsKey { get; set; } public string? EndpointParamsValue { get; set; } + + #endregion } public class InsertObjectProcedureHandler(IRepository repo) : IRequestHandler