-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClient.h
More file actions
43 lines (27 loc) · 840 Bytes
/
Client.h
File metadata and controls
43 lines (27 loc) · 840 Bytes
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
//
// Created by micha on 18/06/2023.
//
#ifndef SHOP_PROJECT_CLI_CLIENT_H
#define SHOP_PROJECT_CLI_CLIENT_H
#include <iostream>
#include <string>
using namespace std;
class Client {
private:
string firstName;
string lastName;
string address;
char gender; //char, because we're going to use only M or F(or M or K in Polish)
public:
Client(const string &firstName, const string &lastName, const string &address,
char gender); //simple constructor
string getFirstName() const;
string getLastName() const;
string getAddress() const;
char getGender() const;
void setFirstName(const string &firstName);
void setLastName(const string &lastName);
void setAddress(const string &address);
void setGender(const char gender);
};
#endif //SHOP_PROJECT_CLI_CLIENT_H