Skip to content

Commit

Permalink
Private kitchen, bathroom and step-free nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles-Alford committed Jun 10, 2024
1 parent a9b66ef commit 429b2f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ public class AssetCharacteristics
{
public static AssetCharacteristics Create(int numberOfBedrooms, int numberOfLifts, int numberOfLivingRooms, string windowType, string yearConstructed, string assetPropertyFolderLink,
string epcExpiryDate, string fireSafetyCertificateExpiryDate, string gasSafetyCertificateExpiryDate, string elecCertificateExpiryDate,
bool optionToTax, bool hasStairs, int numberOfStairs, bool hasRampAccess, bool hasCommunalAreas, bool hasPrivateBathroom,
int numberOfBathrooms, string bathroomFloor, bool hasPrivateKitchen, int numberOfKitchens, string kitchenfloor,
bool optionToTax, bool hasStairs, int numberOfStairs, bool hasRampAccess, bool hasCommunalAreas, bool? hasPrivateBathroom,
int numberOfBathrooms, string bathroomFloor, bool? hasPrivateKitchen, int numberOfKitchens, string kitchenfloor,
string alertSystemExpiryDate, string epcScore, int numberOfFloors, string accessibilityComments, int numberOfBedSpaces, int numberOfCots,
string sleepingArrangementNotes, int numberOfShowers, string kitchenNotes, bool isStepFree)
string sleepingArrangementNotes, int numberOfShowers, string kitchenNotes, bool? isStepFree)
{
return new AssetCharacteristics(
numberOfBedrooms,
Expand Down Expand Up @@ -48,10 +48,10 @@ public AssetCharacteristics() { }
private AssetCharacteristics(int numberOfBedrooms, int numberOfLifts, int numberOfLivingRooms, string windowType,
string yearConstructed, string assetPropertyFolderLink, string epcExpiryDate, string fireSafetyCertificateExpiryDate,
string gasSafetyCertificateExpiryDate, string elecCertificateExpiryDate, bool optionToTax, bool hasStairs, int numberOfStairs,
bool hasRampAccess, bool hasCommunalAreas, bool hasPrivateBathroom, int numberOfBathrooms, string bathroomFloor,
bool hasPrivateKitchen, int numberOfKitchens, string kitchenfloor, string alertSystemExpiryDate, string epcScore,
bool hasRampAccess, bool hasCommunalAreas, bool? hasPrivateBathroom, int numberOfBathrooms, string bathroomFloor,
bool? hasPrivateKitchen, int numberOfKitchens, string kitchenfloor, string alertSystemExpiryDate, string epcScore,
int numberOfFloors, string accessibilityComments, int numberOfBedSpaces, int numberOfCots, string sleepingArrangementNotes,
int numberOfShowers, string kitchenNotes, bool isStepFree)
int numberOfShowers, string kitchenNotes, bool? isStepFree)
{
NumberOfBedrooms = numberOfBedrooms;
NumberOfLifts = numberOfLifts;
Expand Down Expand Up @@ -101,10 +101,10 @@ private AssetCharacteristics(int numberOfBedrooms, int numberOfLifts, int number
public int NumberOfStairs { get; set; }
public bool HasRampAccess { get; set; }
public bool HasCommunalAreas { get; set; }
public bool HasPrivateBathroom { get; set; }
public bool? HasPrivateBathroom { get; set; }
public int NumberOfBathrooms { get; set; }
public string BathroomFloor { get; set; }
public bool HasPrivateKitchen { get; set; }
public bool? HasPrivateKitchen { get; set; }
public int NumberOfKitchens { get; set; }
public string Kitchenfloor { get; set; }
public string AlertSystemExpiryDate { get; set; }
Expand All @@ -116,6 +116,6 @@ private AssetCharacteristics(int numberOfBedrooms, int numberOfLifts, int number
public string SleepingArrangementNotes { get; set; }
public int NumberOfShowers { get; set; }
public string KitchenNotes { get; set; }
public bool IsStepFree { get; set; }
public bool? IsStepFree { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ public class QueryableAssetCharacteristics
public int NumberOfStairs { get; set; }
public bool HasRampAccess { get; set; }
public bool HasCommunalAreas { get; set; }
public bool HasPrivateBathroom { get; set; }
public bool? HasPrivateBathroom { get; set; }
public int NumberOfBathrooms { get; set; }
public string BathroomFloor { get; set; }
public bool HasPrivateKitchen { get; set; }
public bool? HasPrivateKitchen { get; set; }
public int NumberOfKitchens { get; set; }
public string Kitchenfloor { get; set; }
public string AlertSystemExpiryDate { get; set; }
Expand All @@ -32,6 +32,6 @@ public class QueryableAssetCharacteristics
public string SleepingArrangementNotes { get; set; }
public int NumberOfShowers { get; set; }
public string KitchenNotes { get; set; }
public bool IsStepFree { get; set; }
public bool? IsStepFree { get; set; }
}
}

0 comments on commit 429b2f3

Please sign in to comment.