Sistema Imobiliária

Programação Orientada a Objetos - MC302

 

Professora: Esther Luna Colombini

Stack

Trello Board


Interface
Gráfica

Diagrama ER (Entidade - Relacionamento)

Exemplos de Query

SQL (Trechos)

CREATE DATABASE postgres
  WITH OWNER = postgres
       ENCODING = 'UTF8'
       TABLESPACE = pg_default
       LC_COLLATE = 'en_US.UTF-8'
       LC_CTYPE = 'en_US.UTF-8'
       CONNECTION LIMIT = -1;

COMMENT ON DATABASE postgres
IS 'Banco de Dados do Sistema Interno de Imobiliaria';
CREATE TABLE enderecos
(
  endereco_id serial PRIMARY KEY,
  cep integer,
  estado character varying(15),
  cidade character varying(30),
  rua character varying(50),
  bairro character varying(20),
  numero integer,
  complemento character varying(15)
) 
WITH (
   OIDS=FALSE
);
CREATE TABLE pagamentos
(
  pagamento_id serial PRIMARY KEY,
  proposta_id integer REFERENCES propostas(proposta_id),
  forma_pagamento_id integer REFERENCES formas_pagamento(forma_pagamento_id),
  valor_combinado float8
)
WITH (
  OIDS=FALSE
);
ALTER TABLE pagamentos
OWNER TO postgres;
INSERT INTO lazeres (lazer) VALUES ('ACADEMIA');
INSERT INTO lazeres (lazer) VALUES ('LAGO');
INSERT INTO lazeres (lazer) VALUES ('PISCINA');
INSERT INTO lazeres (lazer) VALUES ('QUADRADEESPORTES');
INSERT INTO lazeres (lazer) VALUES ('SALAODEJOGOS');
INSERT INTO lazeres (lazer) VALUES ('SALAODEFESTA');
INSERT INTO lazeres (lazer) VALUES ('CHURRASQUEIRA');
INSERT INTO lazeres (lazer) VALUES ('SAUNA');
INSERT INTO lazeres (lazer) VALUES ('PARQUINHO');

INSERT INTO formas_pagamento (forma_pagamento) VALUES ('FINANCIAMENTO');
INSERT INTO formas_pagamento (forma_pagamento) VALUES ('PERMUTA');
INSERT INTO formas_pagamento (forma_pagamento) VALUES ('AVISTA');

INSERT INTO restricoes (restricao) VALUES ('RESIDENCIAL');
INSERT INTO restricoes (restricao) VALUES ('COMERCIAL');

INSERT INTO tipos_imovel (tipo_imovel) VALUES ('CASA');
INSERT INTO tipos_imovel (tipo_imovel) VALUES ('APARTAMENTO');
INSERT INTO tipos_imovel (tipo_imovel) VALUES ('TERRENO');

( + )

( - )

Considerações Finais

  • Trabalho em Equipe
  • SQL
  • Interface Gráfica
  • Trello
  • Integrações
  • Github
  • Prazos
  • Tarefas chave não concluidas

Recursos (Público)

Obrigado!

MC302 - Sistema de Imobiliária

By Nicolas França

MC302 - Sistema de Imobiliária

  • 308