Refactor namespaces for DTO classes

Updated `DtoMappingProfile` and `RecActionDto` to use the
`ReC.Application.Common.Dto` namespace instead of
`ReC.Application.Dto`. Adjusted `ReadRecActionQuery` to reflect
this namespace change. No functional changes were introduced.
This commit is contained in:
2025-11-27 09:16:42 +01:00
parent 3e9edcd8af
commit 5e4f113145
3 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
using AutoMapper;
using ReC.Domain.Entities;
namespace ReC.Application.Common.Dto;
public class DtoMappingProfile : Profile
{
public DtoMappingProfile()
{
CreateMap<RecAction, RecActionDto>();
}
}

View File

@@ -0,0 +1,60 @@
namespace ReC.Application.Common.Dto;
public class RecActionDto
{
public long? ActionId { get; init; }
public long? ProfileId { get; init; }
public string? ProfileName { get; init; }
public string? ProfileType { get; init; }
public byte? ProfileSequence { get; init; }
public long? EndpointId { get; init; }
public string? EndpointUri { get; init; }
public long? EndpointAuthId { get; init; }
public string? EndpointAuthType { get; init; }
public string? EndpointAuthApiKey { get; init; }
public string? EndpointAuthApiValue { get; init; }
public string? EndpointAuthApiKeyAddTo { get; init; }
public string? EndpointAuthToken { get; init; }
public string? EndpointAuthUsername { get; init; }
public string? EndpointAuthPassword { get; init; }
public string? EndpointAuthDomain { get; init; }
public string? EndpointAuthWorkstation { get; init; }
public short? EndpointParamsId { get; init; }
public short? SqlConnectionId { get; init; }
public string? SqlConnectionServer { get; init; }
public string? SqlConnectionDb { get; init; }
public string? SqlConnectionUsername { get; init; }
public string? SqlConnectionPassword { get; init; }
public string? RestType { get; init; }
public string? PreprocessingQuery { get; init; }
public string? HeaderQuery { get; init; }
public string? BodyQuery { get; init; }
public string? PostprocessingQuery { get; init; }
}