-
Notifications
You must be signed in to change notification settings - Fork 0
/
Client.h
38 lines (33 loc) · 1.01 KB
/
Client.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
#ifndef CLIENT_H
#define CLIENT_H
#include <iostream>
#include <string>
#include "Compte.h"
using namespace std;
class Client {
private:
int id;
string nom;
string prenom;
string numcin;
int numTel;
Compte compte;
public:
Client();
Client(int id, string nom, string prenom, string numcin, int numTel, Compte compte);
void afficherClient();
void modifierClient(sql::Connection* con);
int getId() { return id; }
void setId(int id) { this->id = id; }
string getNom() { return nom; }
void setNom(string nom) { this->nom = nom; }
string getPrenom() { return prenom; }
void setPrenom(string prenom) { this->prenom = prenom; }
string getNumcin() { return numcin; }
void setNumcin(string numcin) { this->numcin = numcin; }
int getNumTel() { return numTel; }
void setNumTel(int numTel) { this->numTel = numTel; }
Compte getCompte() { return compte; }
void setCompte(Compte compte) { this->compte = compte; }
};
#endif