using SVSim.Database.Common;
namespace SVSim.Database.Models;
///
/// One row per basic_puzzle within a group. Static catalog seeded by SVSim.Bootstrap.
/// See docs/api-spec/endpoints/post-login/basic-puzzle/info.md (PuzzleEntry).
///
public class PuzzleEntry : BaseEntity
{
/// puzzle_id on the wire. PK.
public int PuzzleId { get => Id; set => Id = value; }
/// FK to . Index this column for mission evaluation.
public int GroupId { get; set; }
public PuzzleGroupEntry Group { get; set; } = null!;
/// 0..3 difficulty band.
public int PuzzleDifficulty { get; set; }
public bool IsAdditional { get; set; }
public bool IsPlayable { get; set; } = true;
public string ReleaseConditionTextId { get; set; } = string.Empty;
}