v1.0 release
This commit is contained in:
16
Entities/ComicRead.cs
Normal file
16
Entities/ComicRead.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace ComiServ.Entities
|
||||
{
|
||||
[PrimaryKey(nameof(UserId), nameof(ComicId))]
|
||||
[Index(nameof(UserId))]
|
||||
[Index(nameof(ComicId))]
|
||||
public class ComicRead
|
||||
{
|
||||
public int UserId { get; set; }
|
||||
public User User { get; set; }
|
||||
public int ComicId { get; set; }
|
||||
public Comic Comic { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user