WorldBossProgress
The WorldBossProgress model tracks the progress (killed state) of each boss within a specific world. This allows the backend to record which bosses have been defeated in each world.
Fields
| Field | Type | Attributes | Description |
|---|---|---|---|
| id | String | @id, @default(cuid()) | Unique progress record ID |
| bossId | String | ID of the boss being tracked | |
| boss | Boss | @relation | The boss entity for this progress record |
| worldId | String | ID of the world where the boss progress is tracked | |
| world | World | @relation | The world associated with this boss progress |
| killed | Boolean | Whether the boss has been killed in this world |
Relationships
- WorldBossProgress belongs to a Boss (
bossId). - WorldBossProgress belongs to a World (
worldId).
Example Record
{
"id": "progress1",
"bossId": "boss1",
"worldId": "world123",
"killed": false,
"boss": {
"id": "boss1",
"name": "Dragon Lord"
},
"world": {
"id": "world123",
"name": "Adventure Realm"
}
}