2025-07-22 17:03:33 -05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2025-08-08 16:59:29 -05:00
|
|
|
namespace FreeTubeSync.Model;
|
2025-07-22 17:03:33 -05:00
|
|
|
|
2025-08-09 04:09:17 -05:00
|
|
|
public class Playlist : BaseModel
|
2025-07-22 17:03:33 -05:00
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string _id { get; set; } = string.Empty;
|
|
|
|
|
public string playlistName { get; set; } = string.Empty;
|
|
|
|
|
public bool @protected { get; set; }
|
|
|
|
|
public List<Video> videos { get; set; } = [];
|
|
|
|
|
public long createdAt { get; set; }
|
|
|
|
|
public long lastUpdatedAt { get; set; }
|
|
|
|
|
}
|