From 7cc45ff00d5a155a3e4d6fde8271e817a481a494 Mon Sep 17 00:00:00 2001 From: plockwood Date: Wed, 22 Nov 2023 17:38:21 +0000 Subject: [PATCH] Added name and code dto as the trust type --- .../Dfe.Academies.Contracts/Dfe.Academies.Contracts.csproj | 2 +- .../Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/academiesContracts/Dfe.Academies.Contracts/Dfe.Academies.Contracts.csproj b/academiesContracts/Dfe.Academies.Contracts/Dfe.Academies.Contracts.csproj index 1673f77..efc6c76 100644 --- a/academiesContracts/Dfe.Academies.Contracts/Dfe.Academies.Contracts.csproj +++ b/academiesContracts/Dfe.Academies.Contracts/Dfe.Academies.Contracts.csproj @@ -11,7 +11,7 @@ README.md https://github.com/DFE-Digital/academisation-nuget-packages git - 1.0.6 + 1.0.7 1.0.4 1.0.4 diff --git a/academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs b/academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs index 68411d9..1cc306e 100644 --- a/academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs +++ b/academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs @@ -1,12 +1,14 @@ namespace Dfe.Academies.Contracts.V4.Trusts; +using Dfe.Academies.Contracts.V4.Establishments; + [Serializable] public class TrustDto { public string Name { get; set; } public string Ukprn { get; set; } - public string Type { get; set; } + public NameAndCodeDto Type { get; set; } public string CompaniesHouseNumber { get; set; }