After doing testing with a test project, re-organized code to new method of storing, as well as ensure that all Endpoint lambda's are separated out into functions. Large commit, will be testing.
14 lines
No EOL
400 B
C#
14 lines
No EOL
400 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace FreeTubeSync.Model;
|
|
|
|
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; }
|
|
} |