-
Notifications
You must be signed in to change notification settings - Fork 0
/
imovel.h
62 lines (54 loc) · 1.41 KB
/
imovel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef IMOVEL_H
#define IMOVEL_H
#include <string>
#include <QString>
#include <vector>
#include <QStringList>
using namespace std;
class Imovel
{
QString endereco;
QString cidade;
QString inquilino;
QString bairro;
QString complemento;
QString imobiliaria;
QString observacao;
QString valorAluguel;
QString dataVencimento;
int dormitorios;
bool IPTU;
vector<bool>payment;
public:
Imovel();
virtual int getType()const=0;
virtual void imprime(QString path)const =0;
bool operator < (const Imovel &)const;
// virtual ostream & operator <<( ostream &) const;
~Imovel();
void setEndereco(QString);
void setBairro(QString);
void setInquilino(QString);
void setCidade(QString);
void setObservacao(QString);
void setValorAluguel(QString);
void setImobiliaria(QString);
void setComplemento(QString);
void setIPTU(bool);
void setPayment(vector<bool>);
void setDormitorios(int);
void setDataVencimento(QString);
QString getDataVencimento()const;
QString getEndereco()const;
QString getBairro()const;
QString getInquilino()const;
QString getCidade()const;
QString getObservacoes()const;
QString getComplemento()const;
QString getImobiliaria()const;
QString getValorAluguel()const;
bool getIPTU()const;
vector<bool> getPayment()const;
int getDormitorios()const;
};
#endif // IMOVEL_H