From 383932e7e7c37882228a0d7ed5c7357a0d765f1b Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 16 Jan 2026 13:17:44 +0100 Subject: [PATCH] Remove [Table] attributes from DTO classes Removed explicit table mapping attributes from EndpointAuthDto, ProfileDto, and RecActionDto to decouple DTOs from database schema definitions. --- src/ReC.Application/Common/Dto/EndpointAuthDto.cs | 1 - src/ReC.Application/Common/Dto/ProfileDto.cs | 1 - src/ReC.Application/Common/Dto/RecActionDto.cs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/ReC.Application/Common/Dto/EndpointAuthDto.cs b/src/ReC.Application/Common/Dto/EndpointAuthDto.cs index 8bd4636..668a9f0 100644 --- a/src/ReC.Application/Common/Dto/EndpointAuthDto.cs +++ b/src/ReC.Application/Common/Dto/EndpointAuthDto.cs @@ -3,7 +3,6 @@ using System.ComponentModel.DataAnnotations.Schema; namespace ReC.Application.Common.Dto; -[Table("TBREC_CFG_ENDPOINT_AUTH")] public record EndpointAuthDto { public long? Id { get; set; } diff --git a/src/ReC.Application/Common/Dto/ProfileDto.cs b/src/ReC.Application/Common/Dto/ProfileDto.cs index a0e01aa..119ac82 100644 --- a/src/ReC.Application/Common/Dto/ProfileDto.cs +++ b/src/ReC.Application/Common/Dto/ProfileDto.cs @@ -2,7 +2,6 @@ namespace ReC.Application.Common.Dto; -[Table("TBREC_CFG_PROFILE", Schema = "dbo")] public record ProfileDto { public long Id { get; set; } diff --git a/src/ReC.Application/Common/Dto/RecActionDto.cs b/src/ReC.Application/Common/Dto/RecActionDto.cs index 9fcf277..386de79 100644 --- a/src/ReC.Application/Common/Dto/RecActionDto.cs +++ b/src/ReC.Application/Common/Dto/RecActionDto.cs @@ -3,7 +3,6 @@ using System.ComponentModel.DataAnnotations.Schema; namespace ReC.Application.Common.Dto; -[Table("TBREC_CFG_ACTION")] public record RecActionDto { public long? Id { get; set; }