A apresentação está carregando. Por favor, espere

A apresentação está carregando. Por favor, espere

FACULDADE METROPOLITANA DE MANAUS - FAMETRO

Apresentações semelhantes


Apresentação em tema: "FACULDADE METROPOLITANA DE MANAUS - FAMETRO"— Transcrição da apresentação:

1 FACULDADE METROPOLITANA DE MANAUS - FAMETRO
AFA PARK CONTROL MANAUS 2010

2 AFA PARK CONTROL MANAUS 2010
Trabalho solicitado por orientação do Prof. para obtenção de nota do 1º bimestre da disciplina Bancos de Dados II do 6º período, noturno, sala 36. MANAUS 2010

3 MER

4 MAPEAMENTO TABELAS: CANCELAS_ENTRADA, VAGAS E CARDS
CANCELAS_ENTRADA (can_cod#) PK: can_cod VAGAS (vag_cod#) PK: vag_cod CARDS (card_cod#) PK: card_cod

5 PROJETO DE BANCO DE DADOS
TABELA: CANCELAS_ENTRADA OBJETIVO: ARMAZENAR O CÓDIGO DE CANCELA QUE LIBERA A ENTRADA NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO can_cod integer - N S Corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente a cancela de entrada.

6 PROJETO DE BANCO DE DADOS
TABELA: VAGAS OBJETIVO: ARMAZENAR CÓDIGO DA VAGA NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO vag_cod integer - N S Corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente a vaga.

7 PROJETO DE BANCO DE DADOS
TABELA: CARDS OBJETIVO: ARMAZENAR O CÓDIGO DE CARDS NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO card_cod integer - N S Corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente o card.

8 MAPEAMENTO TABELA: LOCA
LOCA (hora_entrada, vag_cod#*, card_cod#*,can_cod#*) PK1: vag_cod PK2: card_cod PK3: can_cod FK1: vag_cod REFERENCES VAGAS(vag_cod) FK2: can_cod REFERENCES CANCELAS_ENTRADA(can_cod) FK3: card_cod REFERENCES CARDS (card_cod)

9 PROJETO DE BANCO DE DADOS
TABELA: LOCA OBJETIVO: ARMAZENAR INFORMAÇÕES DA LOCAÇÃO DE VAGA NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO can_cod integer - N S CANCELAS_ENTRADA Corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente a cancela de entrada. vag_cod VAGAS identificar unicamente a vaga. card_cod CARDS identificar unicamente o card. hora_entrada time Identifica hora de entrada.

10 MAPEAMENTO TABELAS: PRECOS, FUNCIONARIOS
PRECOS (pre_cod#, pre_hora, pre_valor) PK: pre_cod FUNCIONARIOS (fnc_nome, fnc_mat#, fnc_end_cep, fnc_end_rua, fnc_end_numero, fnc_end_bairro, fnc_complemento, fnc_telefone1, fnc_telefone2) PK: fnc_mat

11 PROJETO DE BANCO DE DADOS
TABELA: PRECOS OBJETIVO: ARMAZENAR INFORMAÇÕES DE PREÇOS DE LOCAÇÃO DE VAGA NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO pre_cod integer - N S corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente a cancela. pre_hora time Duração de tempo. pre_valor float Valor da hora.

12 PROJETO DE BANCO DE DADOS
TABELA: FUNCIONARIOS OBJETIVO: ARMAZENAR INFORMAÇÕES DO FUNCIONÁRIO NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO fnc_nome varchar 100 N - Nome do funcionário. fnc_mat integer S Corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente o funcionário. fnc_end_cep CEP do funcionário. Somente números. fnc_end_rua 40 Rua. fnc_end_numero inetger Número. fnc_end_bairro Bairro. fnc_complemento Complemento, caso haja. fnc_telefone1 22 Telefone. fnc_telefone2

13 MAPEAMENTO TABELA: BAIXA
BAIXA (hora_saida, card_cod#*, pre_cod#*, fnc_mat#*) PK1: card_cod PK2: pre_cod PK3: fnc_mat FK1: pre_cod REFERENCES PRECOS (pre_cod) FK2: card_cod REFERENCES CARDS (card_cod) FK3: fnc_mat REFERENCES FUNCIONARIOS (fnc_mat)

14 PROJETO DE BANCO DE DADOS
TABELA: BAIXA OBJETIVO: ARMAZENAR INFORMAÇÕES DA BAIXA DE CARDS NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO hora_saida time - N Hora de saída. card_cod Integer S cards Corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente o card. pre_cod precos corresponde a um número seqüencial identificar unicamente a cancela. fnc_mat integer funcionarios identificar unicamente o funcionário.

15 MAPEAMENTO TABELAS: BAIXA
CANCELAS_SAIDA (can_cod#) PK: can_cod LIBERA_SAIDA(can_cod#*, card_cod#*, pre_cod#*, fnc_mat#*) PK1: can_cod PK2: card_cod PK3: pre_cod PK4: fnc_mat FK1: pre_cod REFERENCES PRECOS (pre_cod), FK2: card_cod REFERENCES CARDS (card_cod), FK3: fnc_mat REFERENCES FUNCIONARIOS (fnc_mat), FK4: can_cod REFERENCES CANCELAS_SAIDA (can_cod)

16 PROJETO DE BANCO DE DADOS
TABELA: CANCELAS_SAIDA OBJETIVO: ARMAZENAR O CÓDIGO DE CANCELA QUE LIBERA A SAIDA NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO can_cod integer - N S corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente a cancela de saida.

17 PROJETO DE BANCO DE DADOS
TABELA: LIBERA_SAIDA OBJETIVO: ARMAZENAR INFORMAÇÕES DE LIBERAÇÃO DA SAIDA. NOME COLUNA TIPO TAMANHO NULL PK FK TABELA ORIGEM DESCRIÇÃO/DOMÍNIO/FORMATO can_cod integer - N S cancelas_saida corresponde a um número seqüencial gerado automaticamente pelo sistema. Usado para identificar unicamente a cancela. card_cod Integer cards Corresponde a um número seqüencial identificar unicamente o card. pre_cod precos fnc_mat funcionarios identificar unicamente o funcionário.

18 AGRADECIMENTOS AOS COMPONENTES DA EQUIPE;
AO PROFESSOR E AOS COLEGAS PRESENTES; ÀS FAMÍLIAS DOS INTEGRANTES DA EQUIPE, A DEUS.

19 FACULDADE METROPOLITANA DE MANAUS - FAMETRO
AFA PARK CONTROL MANAUS 2010


Carregar ppt "FACULDADE METROPOLITANA DE MANAUS - FAMETRO"

Apresentações semelhantes


Anúncios Google