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-22 19:09:01 +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;
|
2023-05-21 21:56:37 +02:00
|
|
|
|
public string FeedType { get; set; } = string.Empty;
|
|
|
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
|
public string Language { get; set; } = string.Empty;
|
2023-05-22 19:09:01 +02:00
|
|
|
|
public string Copyright { get; set; } = string.Empty;
|
2023-05-21 21:56:37 +02:00
|
|
|
|
public DateTimeOffset DateAdded { get; set; }
|
|
|
|
|
public DateTimeOffset LastUpdated { get; set; }
|
2023-05-22 19:09:01 +02:00
|
|
|
|
public string ImageUrl { get; set; } = string.Empty;
|
|
|
|
|
public string OriginalDocument { get; set; } = string.Empty;
|
2023-05-12 15:48:14 +02:00
|
|
|
|
}
|
|
|
|
|
}
|