Removed explicit table mapping attributes from EndpointAuthDto, ProfileDto, and RecActionDto to decouple DTOs from database schema definitions.
53 lines
1.2 KiB
C#
53 lines
1.2 KiB
C#
using ReC.Domain.Constants;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ReC.Application.Common.Dto;
|
|
|
|
public record RecActionDto
|
|
{
|
|
public long? Id { get; set; }
|
|
|
|
public long? ProfileId { get; set; }
|
|
|
|
public ProfileDto? Profile { get; set; }
|
|
|
|
public bool? Active { get; set; }
|
|
|
|
public byte? Sequence { get; set; }
|
|
|
|
public long? EndpointId { get; set; }
|
|
|
|
public EndpointDto? Endpoint { get; set; }
|
|
|
|
public long? EndpointAuthId { get; set; }
|
|
|
|
public EndpointAuthDto? EndpointAuth { get; set; }
|
|
|
|
public short? EndpointParamsId { get; set; }
|
|
|
|
public short? SqlConnectionId { get; set; }
|
|
|
|
public ConnectionDto? SqlConnection { get; set; }
|
|
|
|
public string? Type { get; set; }
|
|
|
|
public string? PreprocessingQuery { get; set; }
|
|
|
|
public string? HeaderQuery { get; set; }
|
|
|
|
public string? BodyQuery { get; set; }
|
|
|
|
public string? PostprocessingQuery { get; set; }
|
|
|
|
public ErrorAction? ErrorAction { get; set; }
|
|
|
|
public string? AddedWho { get; set; }
|
|
|
|
public DateTime? AddedWhen { get; set; }
|
|
|
|
public string? ChangedWho { get; set; }
|
|
|
|
public DateTime? ChangedWhen { get; set; }
|
|
|
|
public OutResDto? OutRes { get; set; }
|
|
} |