Kavita/API/Entities/HighlightSlot.cs
Joe Milazzo b141613d60
Epub Annotation System (#4008)
Co-authored-by: Fesaa <77553571+Fesaa@users.noreply.github.com>
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2025-08-30 12:01:00 -07:00

21 lines
437 B
C#

namespace API.Entities;
public sealed record HighlightSlot
{
public int Id { get; set; }
/// <summary>
/// Hex representation
/// </summary>
public string Title { get; set; }
public int SlotNumber { get; set; }
public RgbaColor Color { get; set; }
}
public struct RgbaColor
{
public int R { get; set; }
public int G { get; set; }
public int B { get; set; }
public float A { get; set; }
}