Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Denúncia a Violência Wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Denúncia a Violência
  • Denúncia a Violência Wiki
  • Wiki
  • banco_dados

banco_dados · Changes

Page history
Update banco_dados authored Mar 30, 2022 by Matheus Pozzer Moraes's avatar Matheus Pozzer Moraes
Hide whitespace changes
Inline Side-by-side
banco_dados.md
View page @ f7e3af49
......@@ -14,114 +14,69 @@ Por ser um banco de dados documental, as informações são persistidas em cole
#### Coleção user:
```
{
Id (hash)
Name (string)
Username (string)
Telefone(Object)
Genero(char/string)
Endereco(Object array)[{
EnderecoId(hash)
}]
Id (hash)
Name (string)
Username (string)
Telefone(Object array)[{
{
Id(hash)
Ddd(int)
TipoTelefone(string)
NumeroTelefone(string)
}
}]
Genero(char/string)
Endereco(Object array)[{
{
Id(hash)
CEP(string)
Rua(string)
Numero(int)
Complemento(string)
Bairro(string)
Cidade(string)
Estado(string)
}
}]
}
```
#### Coleção post:
```
{
Id (hash)
isActive(boolean)
Id (hash)
isActive(boolean)
QtdLike(int)
Image(object)
Descricao(string)
Tags(object array)[{
NomeTag(string)
TagId(hash)
}]
Like(object array)[{
IdPerfil(hash) || IdUser(hash)
}]
Comentarios(object array)[{
IdUser(hash)
Comentario(string)
}]
}
```
#### Coleção Endereco:
```
{
Id(hash)
CEP(string)
Rua(string)
Numero(int)
Complemento(string)
Bairro(string)
Cidade(string)
Estado(string)
}
```
#### Coleção Telefone:
```
{
Id(hash)
Ddd(int)
TipoTelefone(string)
NumeroTelefone(string)
}
```
#### Coleção Perfil:
```
{
Id(hash)
Descricao(string)
User(object)
Posts(object array) [{
PostId(hash)
isActive(boolean)
}]
PerfilSeguidores(object array) ---ANALISAR FORMA DE GUARDAR SEGUIDORES
PerfilSeguindo(object array)
}
```
#### Coleção PerfilSeguidores:
```
{
Id(hash)
PerfilSeguidor(object) ---ANALISAR FORMA DE GUARDAR SEGUIDORES
IdPerfil(hash)
}
```
#### Coleção PerfilSeguindo:
```
{
Id(hash)
PerfilSeguindo(object) ---ANALISAR FORMA DE GUARDAR SEGUIDORES
IdPerfil(hash)
}
```
#### Coleção Comentarios:
```
{
Id(hash)
IdPost(string)
Comentario(string)
Resposta(object array)[{
IdResposta(hash)
}]
Id (hash)
Descricao (string)
us(hash)
Posts(Object array)[{
{
idPost(hash)
}
}]
}
```
#### Coleção Resposta:
```
{
Id(hash)
IdComentario(string)
Resposta(string)
}
```
#### Coleção Like:
```
{
Id(hash)
IdPerfil(hash)
IdPost(hash)
}
```
Clone repository
  • Gerência
  • Instalação
  • Retro
  • Utilizando a wiki
    • adicionando imagens
    • escrevendo em markdown
    • wiki no editor de texto
  • arquitetura
  • banco_dados
  • codigo
  • configuracao
  • design_mockups
  • escopo
  • estudos
  • gerencia
  • Home
View All Pages