mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-06-15 09:45:07 -04:00
Add another national day source since DOTY is broken
This commit is contained in:
17
Calendar/Service/Models/DaysOfTheYear/Entry.cs
Normal file
17
Calendar/Service/Models/DaysOfTheYear/Entry.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using JetBrains.Annotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace ChrisKaczor.HomeMonitor.Calendar.Service.Models.DaysOfTheYear;
|
||||
|
||||
[PublicAPI]
|
||||
public class Entry
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public string Url { get; set; } = string.Empty;
|
||||
|
||||
[JsonConverter(typeof(StringOrBooleanConverter))]
|
||||
public string Excerpt { get; set; } = string.Empty;
|
||||
|
||||
public string Type { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user