using System; using API.Entities.Enums.Font; using API.Entities.Interfaces; using API.Services; namespace API.Entities; /// /// Represents a user provider font to be used in the epub reader /// public class EpubFont: IEntityDate { public int Id { get; set; } /// /// Name of the font /// public required string Name { get; set; } /// /// Normalized name for lookups /// public required string NormalizedName { get; set; } /// /// Filename of the font, stored under /// /// System provided fonts use an alternative location as they are packaged with the app public required string FileName { get; set; } /// /// Where the font came from /// public FontProvider Provider { get; set; } public DateTime Created { get; set; } public DateTime CreatedUtc { get; set; } public DateTime LastModified { get; set; } public DateTime LastModifiedUtc { get; set; } }