17 lines
597 B
C#
17 lines
597 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
|
||
|
|
namespace FreeTubeSync.Model.Database;
|
||
|
|
|
||
|
|
public class Video
|
||
|
|
{
|
||
|
|
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 long pubished { get; set; }
|
||
|
|
public long timeAdded { get; set; }
|
||
|
|
[Key]
|
||
|
|
public string playlistItemId { get; set; } = string.Empty;
|
||
|
|
public string type { get; set; } = string.Empty;
|
||
|
|
}
|