Add Update DTOs for partial entity updates in Procedures

Introduced six new DTO record classes under ReC.Application.Common.Procedures.UpdateProcedure.Dto to support partial (nullable) updates for Action, Endpoint, EndpointAuth, EndpointParams, Profile, and Result entities. These DTOs enable PATCH-like update operations by allowing selective property updates. No existing code was modified.
This commit is contained in:
2026-03-24 11:08:37 +01:00
parent f786192786
commit 114b5de71d
6 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
namespace ReC.Application.Common.Procedures.UpdateProcedure.Dto;
public record UpdateEndpointAuthDto
{
public bool? Active { get; set; }
public string? Description { get; set; }
public byte? TypeId { get; set; }
public string? ApiKey { get; set; }
public string? ApiValue { get; set; }
public bool? ApiKeyAddToId { get; set; }
public string? Token { get; set; }
public string? Username { get; set; }
public string? Password { get; set; }
public string? Domain { get; set; }
public string? Workstation { get; set; }
}