SharpRSS/SharpRss/Models/FeedItemModel.cs

23 lines
796 B
C#
Raw Normal View History

using System;
namespace SharpRss.Models
{
public class FeedItemModel
{
2023-05-26 23:59:02 +02:00
public FeedModel? Feed { get; set; }
2023-05-24 19:27:22 +02:00
public string? Id { get; set; } = string.Empty;
public string? FeedId { get; set; } = string.Empty;
2023-05-20 00:04:45 +02:00
public bool Read { get; set; }
2023-05-24 19:27:22 +02:00
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; }
2023-05-21 21:56:37 +02:00
public DateTimeOffset? PublishingDate { get; set; }
2023-05-24 19:27:22 +02:00
public string? Author { get; set; } = string.Empty;
2023-05-22 13:26:27 +02:00
public string[]? Categories { get; set; }
2023-05-24 19:27:22 +02:00
public string? Content { get; set; } = string.Empty;
2023-05-26 23:59:02 +02:00
public string? HexColor => Feed?.Group?.HexColor;
}
}