freetubesync/FreeTubeSync/Model/Video.cs

18 lines
676 B
C#
Raw Normal View History

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;
public long pubished { get; set; }
public long timeAdded { get; set; }
public string type { get; set; } = string.Empty;
}