2023-05-18 01:27:11 +02:00
|
|
|
|
using System;
|
2023-05-12 15:48:14 +02:00
|
|
|
|
|
|
|
|
|
namespace SharpRss.Models
|
|
|
|
|
{
|
2023-05-15 15:53:08 +02:00
|
|
|
|
public class FeedModel
|
2023-05-12 15:48:14 +02:00
|
|
|
|
{
|
2023-05-21 21:56:37 +02:00
|
|
|
|
public FeedModel(string rssUrl)
|
|
|
|
|
{
|
|
|
|
|
Url = rssUrl;
|
2023-05-22 15:55:21 +02:00
|
|
|
|
Id = Guid.NewGuid().ToString();
|
2023-05-21 21:56:37 +02:00
|
|
|
|
}
|
2023-05-26 23:59:02 +02:00
|
|
|
|
public GroupModel? Group { get; set; }
|
2023-05-24 19:27:22 +02:00
|
|
|
|
public string? Id { get; set; }
|
|
|
|
|
public string? Url { get; set; }
|
|
|
|
|
public string? Title { get; set; } = string.Empty;
|
|
|
|
|
public string? GroupId { get; set; } = string.Empty;
|
|
|
|
|
public string? FeedType { get; set; } = string.Empty;
|
|
|
|
|
public string? Description { get; set; } = string.Empty;
|
|
|
|
|
public string? Language { get; set; } = string.Empty;
|
|
|
|
|
public string? Copyright { get; set; } = string.Empty;
|
|
|
|
|
public DateTimeOffset? DateAdded { get; set; }
|
|
|
|
|
public DateTimeOffset? LastUpdated { get; set; }
|
|
|
|
|
public string? ImageUrl { get; set; } = string.Empty;
|
|
|
|
|
public string? OriginalDocument { get; set; } = string.Empty;
|
2023-05-12 15:48:14 +02:00
|
|
|
|
}
|
|
|
|
|
}
|