Skip to main content

Boss

The Boss model represents a boss entity. Bosses are linked to worlds and their progress is tracked via the WorldBossProgress model.

Fields

FieldTypeAttributesDescription
idString@id, @default(cuid())Unique boss ID
nameStringName of the boss
healthStringHealth value or description
stageStringStage or phase of the boss
worldProgressWorldBossProgress[]@relationProgress records for this boss in worlds

Relationships

  • Boss has many WorldBossProgress records (one per world).
  • Linked to worlds through WorldBossProgress.

Example Record

{
"id": "boss1",
"name": "Dragon Lord",
"health": "5000",
"stage": "Final",
"worldProgress": [
{
"id": "progress1",
"worldId": "world123",
"killed": false
}
]
}