Skip to content

Commit

Permalink
Skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
martapederiva committed Apr 17, 2024
1 parent fd6ac0f commit f3272a8
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System.Collections.Generic;
using System.Linq;
using Hackney.Shared.HousingSearch.Gateways.Models.Tenures;
using Hackney.Shared.Tenure.Domain;

namespace Hackney.Shared.HousingSearch.Domain.Tenure
{
public class TemporaryAccommodationInfo
{
public string BookingStatus { get; set; }
}
}
1 change: 1 addition & 0 deletions Hackney.Shared.HousingSearch/Domain/Tenure/Tenure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ private Tenure(string id, string paymentReference, string startOfTenureDate, str
public string EndOfTenureDate { get; set; }
public TenureType TenureType { get; set; }
public bool IsActive => TenureHelpers.IsTenureActive(EndOfTenureDate);
public TemporaryAccommodationInfo TemporaryAccommodationInfo { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System.Collections.Generic;
using Nest;

namespace Hackney.Shared.HousingSearch.Gateways.Models.Tenures
{
public class QueryableTemporaryAccommodationInfo
{
public string BookingStatus { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public Domain.Tenure.Tenure Create()
public QueryableTenuredAsset TenuredAsset { get; set; }
public string StartOfTenureDate { get; set; }
public string EndOfTenureDate { get; set; }
public QueryableTenureType TenureType { get; set; }
public QueryableTenureType TenureType { get; set; }
public QueryableTemporaryAccommodationInfo TemporaryAccommodationInfo { get; set; }
}
}

0 comments on commit f3272a8

Please sign in to comment.