Split Json data models coming from REST Api, from the Database models storing them in a SQLite database. Work to re-engineer endpoints to use Database objects, and copy/update data from the json objects. More work is needed.
11 lines
No EOL
272 B
C#
11 lines
No EOL
272 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace FreeTubeSync.Model.Database;
|
|
|
|
public class Subscription
|
|
{
|
|
[Key]
|
|
public string id { get; set; } = string.Empty;
|
|
public string name { get; set; } = string.Empty;
|
|
public string? thumbnail { get; set; }
|
|
} |