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.
15 lines
521 B
C#
15 lines
521 B
C#
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; }
|
|
} |