SharpRSS/SharpRss/Models/FeedItemModel.cs
2023-05-26 23:59:02 +02:00

23 lines
796 B
C#

using System;
namespace SharpRss.Models
{
public class FeedItemModel
{
public FeedModel? Feed { get; set; }
public string? Id { get; set; } = string.Empty;
public string? FeedId { get; set; } = string.Empty;
public bool Read { get; set; }
public string? Type { get; set; } = string.Empty;
public string? Title { get; set; } = string.Empty;
public string? Description { get; set; } = string.Empty;
public string? Link { get; set; } = string.Empty;
public DateTimeOffset? LastUpdated { get; set; }
public DateTimeOffset? PublishingDate { get; set; }
public string? Author { get; set; } = string.Empty;
public string[]? Categories { get; set; }
public string? Content { get; set; } = string.Empty;
public string? HexColor => Feed?.Group?.HexColor;
}
}