Remove APISerializable and APIJsonSerializer

This commit is contained in:
2024-12-16 18:55:52 +01:00
parent 77c5903cf1
commit 87274aca19
14 changed files with 9 additions and 134 deletions

View File

@@ -1,5 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace API.Schema;
@@ -11,7 +10,4 @@ public class Link(string linkProvider, string linkUrl)
public string LinkId { get; init; } = TokenGen.CreateToken(typeof(Link), 64);
public string LinkProvider { get; init; } = linkProvider;
public string LinkUrl { get; init; } = linkUrl;
[ForeignKey("MangaId")]
public virtual Manga Manga { get; init; }
}