Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W Wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • Ludo Pets
  • Wiki
  • Wiki
  • Banco de Dados

Banco de Dados · Changes

Page history
Update Banco de Dados authored Apr 11, 2025 by Erik Vieira Suris's avatar Erik Vieira Suris
Hide whitespace changes
Inline Side-by-side
Banco-de-Dados.md
View page @ 08f3663c
...@@ -23,7 +23,7 @@ User ...@@ -23,7 +23,7 @@ User
{ {
email (string) PK email (string) PK
experience (number) experience (number)
last_lesson_concluded (number) lastLessonConcluded (number)
level (number) level (number)
money (number) money (number)
notifications (boolean) notifications (boolean)
...@@ -36,11 +36,15 @@ Pet ...@@ -36,11 +36,15 @@ Pet
name (string) name (string)
color (string) color (string)
type (string) *Enum "Gato" ou "Cachorro" type (string) *Enum "Gato" ou "Cachorro"
purchased_items(array)(map) purchasedItems(array)(map)
item_id (reference) item_id (reference)
quantity (number) quantity (number)
active_items(array)(reference) *IDs dos itens comprados que estão ativos activeItems(map)(reference) *IDs dos itens comprados que estão ativos
well-being (map) bed (string)
food (string)
toy (string)
wc (string)
wellBeing (map)
clean (Datetime) clean (Datetime)
fun (Datetime) fun (Datetime)
hunger (Datetime) hunger (Datetime)
...@@ -53,7 +57,7 @@ Item ...@@ -53,7 +57,7 @@ Item
id (string) PK id (string) PK
name (string) name (string)
price (number) price (number)
required_level (number) requiredLevel (number)
category (string) category (string)
image (string) *Link da imagem no bucket image (string) *Link da imagem no bucket
} }
...@@ -61,7 +65,7 @@ Item ...@@ -61,7 +65,7 @@ Item
Minigame Minigame
{ {
id (string) PK id (string) PK
given_money (number) givenMoney (number)
name (string) name (string)
} }
...@@ -71,7 +75,7 @@ Lesson ...@@ -71,7 +75,7 @@ Lesson
concluded (boolean) concluded (boolean)
name (string) name (string)
questions (array)(reference) questions (array)(reference)
given_experience (number) givenExperience (number)
given_money (number) given_money (number)
} }
...@@ -80,7 +84,7 @@ Question ...@@ -80,7 +84,7 @@ Question
id (string) PK id (string) PK
answers (array)(string) answers (array)(string)
description (string) *Pergunta description (string) *Pergunta
right_answer (number) *Index da resposta correta rightAnswer (number) *Index da resposta correta
} }
``` ```
......
Clone repository
  • Banco de Dados
  • Configuração
  • Código
  • Processo
  • arquitetura
  • design_mockups
  • escopo e cronograma
  • Home