Adjust ChapterRating Entity slightly
This commit is contained in:
parent
4f3cb6a407
commit
f85703eca2
9 changed files with 25 additions and 18 deletions
|
|
@ -1,16 +1,24 @@
|
|||
using API.Entities.Enums;
|
||||
using API.Services.Plus;
|
||||
|
||||
namespace API.Entities;
|
||||
|
||||
#nullable enable
|
||||
|
||||
public enum ReviewAuthority
|
||||
{
|
||||
User = 0,
|
||||
Critic = 1,
|
||||
}
|
||||
|
||||
public class AppUserChapterRating
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public float Rating { get; set; }
|
||||
public bool HasBeenRated { get; set; }
|
||||
public string? Review { get; set; }
|
||||
public RatingProvider Provider {get; set; }
|
||||
public ScrobbleProvider Provider { get; set; } = ScrobbleProvider.Kavita;
|
||||
public ReviewAuthority Authority { get; set; } = ReviewAuthority.User;
|
||||
|
||||
public int SeriesId { get; set; }
|
||||
public Series Series { get; set; } = null!;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue