using System;
using System.Collections.Generic;
using API.DTOs.Person;
namespace API.DTOs.SeriesDetail;
#nullable enable
public sealed record UserReviewExtendedDto
{
public int Id { get; set; }
///
/// The main review
///
public string Body { get; set; }
///
/// The series this is for
///
public int SeriesId { get; set; }
public int? ChapterId { get; set; }
///
/// The library this series belongs in
///
public int LibraryId { get; set; }
///
/// The user who wrote this
///
public string Username { get; set; }
public float Rating { get; set; }
public SeriesDto Series { get; set; }
public ChapterDto? Chapter { get; set; }
public DateTime CreatedUtc { get; set; }
public ICollection Writers { get; set; } = [];
}