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.
17 lines
No EOL
579 B
C#
17 lines
No EOL
579 B
C#
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace FreeTubeSync.Model;
|
|
|
|
[Owned]
|
|
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 published { get; set; }
|
|
public long timeAdded { get; set; }
|
|
public string playlistItemId { get; set; } = string.Empty;
|
|
public string type { get; set; } = string.Empty;
|
|
} |