mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-03 05:34:21 -04:00
* Refactored Parser to handle parts * Fixed a bug where marking multiple entities as unread would actually make them look read on the UI * Implemented the ability to have float volume numbers * Removed two unit test cases * Code smells
33 lines
964 B
C#
33 lines
964 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using API.Entities.Interfaces;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace API.Entities
|
|
{
|
|
public class Volume : IEntityDate
|
|
{
|
|
public int Id { get; set; }
|
|
/// <summary>
|
|
/// A String representation of the volume number. Allows for floats
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
public int Number { get; set; }
|
|
public IList<Chapter> Chapters { get; set; }
|
|
public DateTime Created { get; set; }
|
|
public DateTime LastModified { get; set; }
|
|
/// <summary>
|
|
/// Absolute path to the (managed) image file
|
|
/// </summary>
|
|
/// <remarks>The file is managed internally to Kavita's APPDIR</remarks>
|
|
public string CoverImage { get; set; }
|
|
public int Pages { get; set; }
|
|
|
|
|
|
|
|
// Relationships
|
|
public Series Series { get; set; }
|
|
public int SeriesId { get; set; }
|
|
}
|
|
}
|