This commit is contained in:
2024-12-14 21:53:29 +01:00
parent ec884f888f
commit 1008da7ee8
66 changed files with 6775 additions and 1 deletions

13
API/Schema/MangaTag.cs Normal file
View File

@ -0,0 +1,13 @@
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace API.Schema;
[PrimaryKey("Tag")]
public class MangaTag(string tag)
{
public string Tag { get; init; } = tag;
[ForeignKey("MangaIds")]
public virtual Manga[] Mangas { get; internal set; } = [];
}