updatedAt DateTime? @updatedAt
}
+enum MonsterType {
+ BEAST
+ FLYING
+ HUMANOID
+ GIANT
+ INSECT
+ UNDEAD
+}
+
+model Monster {
+ id String @id @default(uuid()) @db.Uuid
+ name String @unique
+ monsterType MonsterType[]
+ monsterBiomes MonsterBiome[]
+}
+
+model MonsterBiome {
+ monster Monster @relation(fields: [monsterId], references: [id])
+ monsterId String @db.Uuid
+ biome Biome
+ weight Decimal
+ time Json
+ @@id([monsterId, biome])
+}
+
+model Fight {
+ id String @id @default(uuid()) @db.Uuid
+ playerId String? @db.Uuid
+ monsterId String @db.Uuid
+ name String
+ type MonsterType[]
+ level Int
+ currency Int
+ pow Int
+ zest Int
+ woosh Int
+ luck Int
+ aha Int
+ wow Int
+ hp Int
+ exp Int
+}