16 lines
368 B
C#
16 lines
368 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!;
|
|
}
|
|
}
|