-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjuniorPartnerEmployees.h
More file actions
73 lines (59 loc) · 1.65 KB
/
juniorPartnerEmployees.h
File metadata and controls
73 lines (59 loc) · 1.65 KB
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
63
64
65
66
67
68
69
70
71
72
73
//
// Created by prati on 12/9/2018.
//
#include <iostream>
#include "people.h"
#include "enumerations.h"
#include "string.h"
using namespace std;
#ifndef BANKINGPROJECT_JUNIORPARTNEREMPLOYEES_H
#define BANKINGPROJECT_JUNIORPARTNEREMPLOYEES_H
class juniorPartnerEmployee:public People {
public:
juniorPartnerEmployee();
juniorPartnerEmployee(string first, string last, int age);
~juniorPartnerEmployee() { }
int getJuniorEmployeeId() const;
int setJuniorEmployeeId(int id);
Role_t getRole() const;
void setHiredGroup(string name);
string getHiredGroup() const;
protected:
int juniorPartnerId;
string hiredGroupName;
};
juniorPartnerEmployee::juniorPartnerEmployee() {
this->firstName = "";
this->lastName = "";
this->age = 18;
this->banker_id = 0;
this->netWorth = 0;
this->hiredGroupName = "";
this->role = JUNIORPTR;
}
juniorPartnerEmployee::juniorPartnerEmployee(string first, string last, int age) {
this->firstName = first;
this->lastName = last;
this->age = age;
this->banker_id = 0;
this->netWorth = 0;
this->hiredGroupName = "";
this->role = JUNIORPTR;
}
int juniorPartnerEmployee::getJuniorEmployeeId() const {
return this->juniorPartnerId;
}
int juniorPartnerEmployee::setJuniorEmployeeId(int id) {
this->juniorPartnerId = id;
return 0;
}
Role_t juniorPartnerEmployee::getRole() const {
return this->role;
}
void juniorPartnerEmployee::setHiredGroup(string name) {
this->hiredGroupName = name;
}
string juniorPartnerEmployee::getHiredGroup() const {
return this->hiredGroupName;
}
#endif //BANKINGPROJECT_JUNIORPARTNEREMPLOYEES_H