forked from Rnedlose/cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Employer.h
54 lines (40 loc) · 805 Bytes
/
Employer.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* Author: Rodney Nedlose
* Date: 7.15.19
* File: Employer.h
* Purpose: Header file for the class Employer.
* Input:
* Output:
* Exceptions: None.
*/
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
#ifndef EMPLOYER_H
#define EMPLOYER_H
class Employer
{
private:
int recordNum;
string empDepartment;
string workPhNum;
public:
// Default Constructor
Employer()
{
}
// Override Constructor
Employer(int recordIn, string dpmtIn, string phNumIn)
:recordNum(recordIn), empDepartment(dpmtIn), workPhNum(phNumIn)
{
}
// Set Functions
void setRecordNum(int recordIn);
void setEmpDpmt(string dpmtIn);
void setWorkPhone(string phNumIn);
// Get Functions
int getRecordNum();
string getWorkDpmt();
string getWorkPhn();
};
#endif /* RECORD_H */