2025-07-19 04:02:09 -05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
|
|
|
|
|
|
namespace FreeTubeSync.Model;
|
|
|
|
|
|
|
|
|
|
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
|
|
|
|
public class Video
|
|
|
|
|
{
|
|
|
|
|
[Key] public string videoId { get; set; } = string.Empty;
|
|
|
|
|
public string title { get; set; } = string.Empty;
|
|
|
|
|
public string author { get; set; } = string.Empty;
|
|
|
|
|
public string authorId { get; set; } = string.Empty;
|
|
|
|
|
public string lengthSeconds { get; set; } = string.Empty;
|
|
|
|
|
public string playlistItemId { get; set; } = string.Empty;
|
2025-07-19 12:41:50 -05:00
|
|
|
public long pubished { get; set; }
|
|
|
|
|
public long timeAdded { get; set; }
|
2025-07-19 04:02:09 -05:00
|
|
|
public string type { get; set; } = string.Empty;
|
|
|
|
|
}
|