mirror of
https://github.com/Ikatono/ComiServ.git
synced 2025-10-28 20:45:35 -05:00
API mostly working, starting to work on webapp
This commit is contained in:
15
Entities/ComicTag.cs
Normal file
15
Entities/ComicTag.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace ComiServ.Entities
|
||||
{
|
||||
[PrimaryKey("ComicId", "TagId")]
|
||||
[Index("ComicId")]
|
||||
[Index("TagId")]
|
||||
public class ComicTag
|
||||
{
|
||||
public int ComicId { get; set; }
|
||||
public Comic Comic { get; set; } = null!;
|
||||
public int TagId { get; set; }
|
||||
public Tag Tag { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user