Skip to content

Commit

Permalink
remove isApproved from contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
“Jerome authored and “Jerome committed Oct 22, 2024
1 parent 1e009b2 commit 829f386
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public void CanConvertQueryableAssetContractEntityToDomain()
domainContract.ApprovalDate.Should().Be(queryableAssetContract.ApprovalDate);
domainContract.EndDate.Should().Be(queryableAssetContract.EndDate);
domainContract.EndReason.Should().Be(queryableAssetContract.EndReason);
domainContract.IsApproved.Should().Be(queryableAssetContract.IsApproved);
domainContract.ApprovalStatus.Should().Be(queryableAssetContract.ApprovalStatus);
domainContract.ApprovalStatusReason.Should().Be(queryableAssetContract.ApprovalStatusReason);
domainContract.IsActive.Should().Be(queryableAssetContract.IsActive);
Expand Down
1 change: 0 additions & 1 deletion Hackney.Shared.HousingSearch/Domain/Asset/Contract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public class Contract
public DateTime? ApprovalDate { get; set; }
public DateTime? EndDate { get; set; }
public string EndReason { get; set; }
public bool? IsApproved { get; set; }
public ApprovalStatus ApprovalStatus { get; set; }
public string ApprovalStatusReason { get; set; }
public bool? IsActive { get; set; }
Expand Down
1 change: 0 additions & 1 deletion Hackney.Shared.HousingSearch/Domain/Contract/Contract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public class Contract
public DateTime? ApprovalDate { get; set; }
public DateTime? EndDate { get; set; }
public string EndReason { get; set; }
public bool? IsApproved { get; set; }
public ApprovalStatus ApprovalStatus { get; set; }
public string ApprovalStatusReason { get; set; }
public bool? IsActive { get; set; }
Expand Down
1 change: 0 additions & 1 deletion Hackney.Shared.HousingSearch/Factories/DomainFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public static Domain.Asset.Contract ToDomain(this QueryableAssetContract entity)
EndDate = entity.EndDate,
EndReason = entity.EndReason,
ApprovalDate = entity.ApprovalDate,
IsApproved = entity.IsApproved,
ApprovalStatus = entity.ApprovalStatus,
ApprovalStatusReason = entity.ApprovalStatusReason,
IsActive = entity.IsActive,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public class QueryableAssetContract
public DateTime? ApprovalDate { get; set; }
public DateTime? EndDate { get; set; }
public string EndReason { get; set; }
public bool? IsApproved { get; set; }
public ApprovalStatus ApprovalStatus { get; set; }
public string ApprovalStatusReason { get; set; }
public bool? IsActive { get; set; }
Expand Down

0 comments on commit 829f386

Please sign in to comment.