mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2024-11-10 07:54:20 +01:00
27 lines
961 B
C#
27 lines
961 B
C#
using System;
|
|
|
|
namespace SharpRss.Models
|
|
{
|
|
public class FeedModel
|
|
{
|
|
public FeedModel(string rssUrl)
|
|
{
|
|
Url = rssUrl;
|
|
Id = Guid.NewGuid().ToString();
|
|
}
|
|
public GroupModel? Group { get; set; }
|
|
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;
|
|
}
|
|
}
|