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