Float-based Volumes (#2659)
This commit is contained in:
parent
6fdc9228df
commit
f6af6d66be
44 changed files with 3106 additions and 184 deletions
|
|
@ -36,7 +36,7 @@ public class ScrobbleEvent : IEntityDate
|
|||
/// <summary>
|
||||
/// Depends on the ScrobbleEvent if filled in
|
||||
/// </summary>
|
||||
public int? VolumeNumber { get; set; }
|
||||
public int? VolumeNumber { get; set; } // TODO: Migrate this to float
|
||||
/// <summary>
|
||||
/// Has this event been processed and pushed to Provider
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,17 @@ public class Volume : IEntityDate, IHasReadTimeEstimate
|
|||
/// <summary>
|
||||
/// The minimum number in the Name field in Int form
|
||||
/// </summary>
|
||||
public required int Number { get; set; }
|
||||
/// <remarks>Removed in v0.7.13.8, this was an int and we need the ability to have 0.5 volumes render on the UI</remarks>
|
||||
[Obsolete("Use MinNumber and MaxNumber instead")]
|
||||
public int Number { get; set; }
|
||||
/// <summary>
|
||||
/// The minimum number in the Name field
|
||||
/// </summary>
|
||||
public required float MinNumber { get; set; }
|
||||
/// <summary>
|
||||
/// The maximum number in the Name field (same as Minimum if Name isn't a range)
|
||||
/// </summary>
|
||||
public required float MaxNumber { get; set; }
|
||||
public IList<Chapter> Chapters { get; set; } = null!;
|
||||
public DateTime Created { get; set; }
|
||||
public DateTime LastModified { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue