20 lines
745 B
C#
20 lines
745 B
C#
|
namespace Newsbot.Collector.Domain.Entities;
|
||
|
|
||
|
public class ArticlesEntity
|
||
|
{
|
||
|
public Guid Id { get; set; }
|
||
|
public Guid SourceId { get; set; }
|
||
|
public string Tags { get; set; } = "";
|
||
|
public string Title { get; set; } = "";
|
||
|
public string? Url { get; set; }
|
||
|
public DateTime PubDate { get; set; } = DateTime.Now;
|
||
|
public string Video { get; set; } = "";
|
||
|
public int VideoHeight { get; set; } = 0;
|
||
|
public int VideoWidth { get; set; } = 0;
|
||
|
public string Thumbnail { get; set; } = "";
|
||
|
public string Description { get; set; } = "";
|
||
|
public string AuthorName { get; set; } = "";
|
||
|
public string? AuthorImage { get; set; }
|
||
|
public bool CodeIsRelease { get; set; }
|
||
|
public bool CodeIsCommit { get; set; }
|
||
|
}
|