Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (37 loc) · 858 Bytes

ENTITIES.md

File metadata and controls

45 lines (37 loc) · 858 Bytes

Entidades

Abaixo, o diagrama das entidades que irão existir para suportar todos os dados exibidos no aplicativo.

Se você não conseguir visualizar o diagrama, por favor, instale a seguinte extensão clicando aqui.

classDiagram

class Users {
  id: number;
  createdAt: Date;
  updatedAt: Date;
  name: string;
  email: string;
  password: string;
  roles: string;
}

Users "1" --> "1" Ongs

class Ongs {
  id: number;
  createdAt: Date;
  updatedAt: Date;
  color: string;
  image: string;
  name: string;
  email: string;
  whatsapp: string;
  userId: number;
}

Ongs "1" --> "1" Causes

class Causes {
  id: number;
  createdAt: Date;
  updatedAt: Date;
  categories: string;
  description: string;
  expiresAt: Date;
  ongId: number;
}
Loading