TrabalhosGratuitos.com - Trabalhos, Monografias, Artigos, Exames, Resumos de livros, Dissertações
Pesquisar

Diagrama ER Clinica Odontologica

Por:   •  23/3/2020  •  Trabalho acadêmico  •  1.746 Palavras (7 Páginas)  •  170 Visualizações

Página 1 de 7

paciente                                                                                                 atendimento
id: integer, auto increment, pk, notnull                                            id: integer, auto increment, pk, notnull
nome: varchar(50), notnull                                                                 id_paciente: integer, fk, notnull
cpf: varchar(14), notnull                                                                      id_sala: integer, fk, notnull
nascimento: date                                                                                  id_operacao: integer, fk, notnull
                                                                                                                data: date, notnull, auto increment
tipo_de_operacao                                                                                
id: integer, auto increment, pk, notnull                                            dentista
nome: varchar(50), notnull                                                                 id: integer, auto increment, pk, notnull
id_dentista: integer, fk, notnull                                                          nome: varchar(50), notnull
                                                                                                                cpf: varchar(14), notnull
pagamento_atendimento                                                                    id_operacao: integer, fk, notnull
id: integer, auto increment, pk, notnull                                            
id_atendimento: integer, fk, notnull                                                  sala
id_pagamento: integer, fk, notnull                                                     id: integer, auto increment, pk, notnull
                                                                                                                 sala: varchar(50), notnull
forma_pagamento                                                                                
id: integer, auto increment, pk, notnull                                             sala_hora
preco: float, notnull                                                                               id: integer, auto increment, pk, notnull
tipo: varchar(50), notnull                                                                      id_sala: integer, fk, notnull
                                                                                                                  id_horario: integer, fk, notnull
horario                                                                                                    
id: integer, auto increment, pk, notnull
comeca: time, notnull
termina: time, notnull

...

Baixar como (para membros premium)  txt (2.7 Kb)   pdf (16.3 Kb)   docx (6.4 Kb)  
Continuar por mais 6 páginas »
Disponível apenas no TrabalhosGratuitos.com