-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSMUser.hpp
More file actions
38 lines (31 loc) · 711 Bytes
/
Copy pathSMUser.hpp
File metadata and controls
38 lines (31 loc) · 711 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
/*
* SMUser.hpp
*
* Created on: May 15, 2023
* Author: abdullah ahmed
*/
#ifndef SMUSER_HPP_
#define SMUSER_HPP_
#include <string>
#include <iostream>
#include "Date.hpp"
using namespace std;
class SMUser {
public:
SMUser();
virtual ~SMUser();
const Date& getDateOfMemberShip() const;
bool setDateOfMemberShip(const Date &dateOfMemberShip);
const string& getFirstName() const;
bool setFirstName(const string &firstName);
const string& getLastName() const;
bool setLastName(const string &lastName);
const string& getUserId() const;
bool setUserId(const string &userId);
private:
string userID;
string firstName;
string lastName;
Date dateOfMemberShip;
};
#endif /* SMUSER_HPP_ */