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,15 @@
namespace ReC.Application.Common.Procedures.UpdateProcedure.Dto;
public record UpdateProfileDto
{
public bool? Active { get; set; }
public byte? TypeId { get; set; }
public string? Mandantor { get; set; }
public string? Name { get; set; }
public string? Description { get; set; }
public byte? LogLevelId { get; set; }
public short? LanguageId { get; set; }
public DateTime? FirstRun { get; set; }
public DateTime? LastRun { get; set; }
public string? LastResult { get; set; }
}