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

Commit

Permalink
Using a common address for trusts and establishments so swagger can u…
Browse files Browse the repository at this point in the history
…se schema's
  • Loading branch information
Dominic NEED authored and Dominic NEED committed Oct 27, 2023
1 parent 2d8fc01 commit 7f43fd5
Showing 1 changed file with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
namespace Dfe.Academies.Contracts.Establishments;

using Dfe.Academies.Contracts.Trusts;

[Serializable]
public class EstablishmentDto
{
Expand Down Expand Up @@ -33,22 +35,6 @@ public class NameAndCodeDto
public string Code { get; set; }
}

[Serializable]
public class AddressDto
{
public string Street { get; set; }

public string Town { get; set; }

public string County { get; set; }

public string Postcode { get; set; }

public string Locality { get; set; }

public string Additional { get; set; }

}

[Serializable]
public class MisEstablishmentDto
Expand Down

0 comments on commit 7f43fd5

Please sign in to comment.