namespace ConnectionsAPI.Database.Entities;
public class ConnectionsCategory
{
///
/// 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 ConnectionsColor Color { get; set; }
///
/// The ID of the associated Connections puzzle
///
public int ConnectionsPuzzleId { get; set; }
///
/// The associated puzzle instance
///
public virtual ConnectionsPuzzle? ConnectionsPuzzle { get; set; }
///
/// The cards associated with this category
///
public ICollection Cards { get; set; } = [];
}