Skip to content

Commit

Permalink
fix some build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Oct 21, 2024
1 parent 0ca8c35 commit 934d944
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/Nager.LongWeekend/Models/DayOffReport.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
namespace Nager.LongWeekend.Models
{
/// <summary>
/// Day Off Report
/// </summary>
public class DayOffReport
{
/// <summary>
/// Is a day off possible
/// </summary>
public bool IsDayOffPossible { get; set; }
public DateOnly[] BridgeDays { get; set; }

/// <summary>
/// Bridge days
/// </summary>
public DateOnly[] BridgeDays { get; set; } = [];

/// <summary>
/// Bridge day count
/// </summary>
public int BridgeDayCount { get; set; }
}
}
10 changes: 10 additions & 0 deletions src/Nager.LongWeekend/Models/HolidayRecord.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
namespace Nager.LongWeekend.Models
{
/// <summary>
/// Holiday Record
/// </summary>
public class HolidayRecord
{
/// <summary>
/// Date of the holiday
/// </summary>
public DateOnly Date { get; set; }

/// <summary>
/// Name of the holiday
/// </summary>
public required string Name { get; set; }
}
}

0 comments on commit 934d944

Please sign in to comment.