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:
12
src/ReC.Application/Common/Dto/DtoMappingProfile.cs
Normal file
12
src/ReC.Application/Common/Dto/DtoMappingProfile.cs
Normal 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>();
|
||||
}
|
||||
}
|
||||
60
src/ReC.Application/Common/Dto/RecActionDto.cs
Normal file
60
src/ReC.Application/Common/Dto/RecActionDto.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user