19 lines
466 B
C#
19 lines
466 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace RBLFeederCommon.Models.RssFeed;
|
|
|
|
public class RssVM
|
|
{
|
|
public string LastUpdateDisplay { get => this.LastUpdate.ToLocalTime().ToString("dd.MM.yyyy HH:mm"); }
|
|
|
|
[JsonProperty("lastUpdate")]
|
|
public DateTime LastUpdate { get; set; }
|
|
|
|
|
|
[JsonProperty("description")]
|
|
public string Description { get; set; }
|
|
|
|
|
|
[JsonProperty("feedGroups")]
|
|
public IList<FeedGroupVM> FeedGroups { get; set; } = new List<FeedGroupVM>();
|
|
} |