freetubesync/FreeTubeSync/Model/Video.cs
Mario Steele a61362e9b5 Updated Playlist, SearchHistory and Video
Changed all ints to longs for field datatypes dealing with Unix
timestamp.
2025-07-19 12:42:26 -05:00

18 lines
No EOL
676 B
C#

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;
}