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.
10 lines
No EOL
194 B
C#
10 lines
No EOL
194 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace FreeTubeSync.Model.Database;
|
|
|
|
public class Setting
|
|
{
|
|
[Key]
|
|
public string _id { get; set; }
|
|
public string value { get; set; }
|
|
} |