namespace ConnectionsAPI.Database.Entities { public class PuzzleCategory { /// /// Primary key of the entity /// public int Id { get; set; } /// /// The name of the category in this Connections puzzle /// public string Name { get; set; } = string.Empty; /// /// The color of the category in this Connections puzzle; Also used for sorting /// public PuzzleCategoryColor Color { get; set; } /// /// The ID of the associated Connections puzzle /// public int PuzzleId { get; set; } /// /// The associated puzzle instance /// public virtual Puzzle? Puzzle { get; set; } /// /// The cards associated with this category /// public ICollection PuzzleCards { get; set; } = []; } }