prueba tecnica

This commit is contained in:
Alejandro
2025-06-15 18:29:25 +02:00
parent 9758ee0bc6
commit d97e55a83f
127 changed files with 6488 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
namespace ProximaContracts.Domain.Contracts.DTOs.Response
{
public class ContractByIdResponseDto
{
public int Id { get; set; }
public string ContractorIdNumber { get; set; }
public string ContractorName { get; set; }
public string ContractorSurname { get; set; }
public DateTime ContractInitDate { get; set; }
public int RateId { get; set; }
public string RateName { get; set; }
public decimal RatePrice { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ProximaContracts.Domain.Contracts.DTOs.Response
{
public class CreateContractResponseDto
{
public bool IsCreated { get; set; }
public int NewContractId { get; set; }
public string Message { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace ProximaContracts.Domain.Contracts.DTOs.Response
{
public class GetContractsResponseDto
{
public int Id { get; set; }
public string ContractorName { get; set; }
public string ContractorSurname { get; set; }
public DateTime ContractInitDate { get; set; }
public string RateName { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace ProximaContracts.Domain.Contracts.DTOs.Response
{
public class UpdateContractResponseDto
{
public bool IsUpdated { get; set; }
public int ContractId { get; set; }
public string Message { get; set; }
}
}