SharpRSS/SharpRss/Models/SyndicationItemModel.cs

24 lines
884 B
C#
Raw Normal View History

using System;
namespace SharpRss.Models
{
2023-06-16 22:53:26 +02:00
public class SyndicationItemModel
{
2023-06-16 22:53:26 +02:00
public SyndicationModel SyndicationParent { get; set; } = new SyndicationModel();
// Db props
2023-06-17 14:04:26 +02:00
public string? Link { get; set; } = string.Empty;
2023-06-16 22:53:26 +02:00
public string EncodedSyndicationUrl { 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;
2023-06-16 22:53:26 +02:00
public DateTimeOffset LastUpdated { get; set; } = DateTimeOffset.Now;
public DateTimeOffset? ItemUpdatedDate { get; set; }
2023-05-21 21:56:37 +02:00
public DateTimeOffset? PublishingDate { get; set; }
public string[]? Authors { get; set; }
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;
public string? CommentsUrl { get; set; } = string.Empty;
}
}