-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmployee.h
More file actions
45 lines (34 loc) · 958 Bytes
/
Employee.h
File metadata and controls
45 lines (34 loc) · 958 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
44
45
#ifndef SVONSYDOW_WEEK3_EMPLOYEE_H
#define SVONSYDOW_WEEK3_EMPLOYEE_H
#include <iostream>
using namespace std;
class Employee {
public:
//Constructors
Employee();
Employee(string EmpFirstName, string EmpLastName, int EmpRating, string EmpNotes, int EmpSalary);
//Destructor
virtual ~Employee();
//Setters and getters
virtual void setFirstName(string EmpFirstName);
virtual string getFirstName();
virtual void setLastName(string EmpLastName);
virtual string getLastName();
void setRating(int EmpRating);
int getRating() const;
void setNotes(string EmpNotes);
string getNotes();
virtual void setSalary(int EmpSalary);
virtual int getSalary();
//Functions
virtual void printValues();
void getEmpInfo();
friend class Manager;
private:
string firstName;
string lastName;
int rating{};
string notes;
int salary{};
};
#endif //SVONSYDOW_WEEK3_EMPLOYEE_H