Skip to content

Commit

Permalink
add seat.isAccessible, seat.isCompanionSeat and seat.hasRestrictedVie…
Browse files Browse the repository at this point in the history
…w fields to chart reports (#84)
  • Loading branch information
bverbeken authored Jun 22, 2023
1 parent b9bc07b commit d4b36a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public void ReportItemProperties()
Assert.Equal("A-2", reportItem.RightNeighbour);
Assert.Null(reportItem.BookAsAWhole);
Assert.NotNull(reportItem.DistanceToFocalPoint);
Assert.NotNull(reportItem.IsAccessible);
Assert.NotNull(reportItem.IsCompanionSeat);
Assert.NotNull(reportItem.HasRestrictedView);
}

[Fact]
Expand Down
3 changes: 3 additions & 0 deletions SeatsioDotNet/Charts/ChartObjectInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ public class ChartObjectInfo
public string RightNeighbour { get; set; }
public float? DistanceToFocalPoint { get; set; }
public int? NumSeats { get; set; }
public bool? IsAccessible { get; set; }
public bool? IsCompanionSeat { get; set; }
public bool? HasRestrictedView { get; set; }
}
}

0 comments on commit d4b36a8

Please sign in to comment.