mirror of
https://github.com/Ikatono/ComiServ.git
synced 2025-10-28 20:45:35 -05:00
15 lines
326 B
C#
15 lines
326 B
C#
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!;
|
|
}
|