Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from DFE-Digital/feature/academies-api-contracts
Browse files Browse the repository at this point in the history
Added name and code dto as the trust type
  • Loading branch information
paullocknimble authored Nov 22, 2023
2 parents 8b744b2 + 7cc45ff commit a706dc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/DFE-Digital/academisation-nuget-packages</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>1.0.6</Version>
<Version>1.0.7</Version>
<AssemblyVersion>1.0.4</AssemblyVersion>
<FileVersion>1.0.4</FileVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -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; }

Check warning on line 8 in academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 8 in academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

public string Ukprn { get; set; }

Check warning on line 10 in academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'Ukprn' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 10 in academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'Ukprn' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public string Type { get; set; }
public NameAndCodeDto Type { get; set; }

Check warning on line 11 in academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'Type' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 11 in academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'Type' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

public string CompaniesHouseNumber { get; set; }

Check warning on line 13 in academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'CompaniesHouseNumber' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 13 in academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable property 'CompaniesHouseNumber' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Expand Down

0 comments on commit a706dc6

Please sign in to comment.