2025-08-08 16:59:29 -05:00
|
|
|
using Microsoft.EntityFrameworkCore;
|
2025-07-22 17:03:33 -05:00
|
|
|
|
2025-08-08 16:59:29 -05:00
|
|
|
namespace FreeTubeSync.Model;
|
2025-07-22 17:03:33 -05:00
|
|
|
|
2025-08-08 16:59:29 -05:00
|
|
|
[Owned]
|
2025-07-22 17:03:33 -05:00
|
|
|
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;
|
2025-08-08 16:59:29 -05:00
|
|
|
public long published { get; set; }
|
2025-07-22 17:03:33 -05:00
|
|
|
public long timeAdded { get; set; }
|
|
|
|
|
public string playlistItemId { get; set; } = string.Empty;
|
|
|
|
|
public string type { get; set; } = string.Empty;
|
|
|
|
|
}
|