-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} | ||
} |