Skip to content

Commit

Permalink
ApprovalStatusReason as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
martapederiva committed Oct 24, 2024
1 parent 1e009b2 commit 5f52468
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
3 changes: 1 addition & 2 deletions Hackney.Shared.HousingSearch/Domain/Asset/Contract.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Hackney.Shared.HousingSearch.Domain.Contract;
using Hackney.Shared.HousingSearch.Domain.Enums;
using System;
using System.Collections.Generic;

Expand All @@ -15,7 +14,7 @@ public class Contract
public DateTime? EndDate { get; set; }
public string EndReason { get; set; }
public bool? IsApproved { get; set; }
public ApprovalStatus ApprovalStatus { get; set; }
public string ApprovalStatus { get; set; }
public string ApprovalStatusReason { get; set; }
public bool? IsActive { get; set; }
public IEnumerable<Charges> Charges { get; set; }
Expand Down
3 changes: 1 addition & 2 deletions Hackney.Shared.HousingSearch/Domain/Contract/Contract.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Hackney.Shared.HousingSearch.Gateways.Models.Contract;
using Hackney.Shared.HousingSearch.Domain.Enums;
using System;
using System.Collections.Generic;

Expand All @@ -15,7 +14,7 @@ public class Contract
public DateTime? EndDate { get; set; }
public string EndReason { get; set; }
public bool? IsApproved { get; set; }
public ApprovalStatus ApprovalStatus { get; set; }
public string ApprovalStatus { get; set; }
public string ApprovalStatusReason { get; set; }
public bool? IsActive { get; set; }
public IEnumerable<QueryableCharges> Charges { get; set; }
Expand Down
12 changes: 0 additions & 12 deletions Hackney.Shared.HousingSearch/Domain/Enums/ApprovalStatus.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using Hackney.Shared.HousingSearch.Gateways.Models.Contract;
using Hackney.Shared.HousingSearch.Domain.Enums;
using Nest;
using System.Collections.Generic;

Expand All @@ -17,7 +16,7 @@ public class QueryableAssetContract
public DateTime? EndDate { get; set; }
public string EndReason { get; set; }
public bool? IsApproved { get; set; }
public ApprovalStatus ApprovalStatus { get; set; }
public string ApprovalStatus { get; set; }
public string ApprovalStatusReason { get; set; }
public bool? IsActive { get; set; }
public IEnumerable<QueryableCharges> Charges { get; set; }
Expand Down

0 comments on commit 5f52468

Please sign in to comment.