namespace Apollinare.Domain.Entities;

/// <summary>
/// Font personalizzato caricato dall'utente per i report
/// </summary>
public class ReportFont : BaseEntity
{
    public string Nome { get; set; } = string.Empty;

    /// <summary>
    /// Nome famiglia font (es. "Roboto", "Open Sans")
    /// </summary>
    public string FontFamily { get; set; } = string.Empty;

    /// <summary>
    /// Stile font (Regular, Bold, Italic, BoldItalic)
    /// </summary>
    public string FontStyle { get; set; } = "Regular";

    /// <summary>
    /// File font (TTF, OTF, WOFF)
    /// </summary>
    public byte[] FontData { get; set; } = Array.Empty<byte>();

    public string MimeType { get; set; } = "font/ttf";

    /// <summary>
    /// Dimensione file in bytes
    /// </summary>
    public long FileSize { get; set; }

    public bool Attivo { get; set; } = true;
}
