14 lines
409 B
C#
14 lines
409 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
|
||
|
|
namespace FreeTubeSync.Model.Database;
|
||
|
|
|
||
|
|
public class Playlist
|
||
|
|
{
|
||
|
|
[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; }
|
||
|
|
}
|