-
Notifications
You must be signed in to change notification settings - Fork 0
/
CLEmployee.cpp
67 lines (57 loc) · 1.44 KB
/
CLEmployee.cpp
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
#include "CLEmployee.h"
int NS_Models::Employee::getUpper_hierarchy_id(void) {
return this->upper_hierarchy_id;
}
String^ NS_Models::Employee::getPassword(void) {
return this->password;
}
String^ NS_Models::Employee::getRank(void) {
return this->rank;
}
String^ NS_Models::Employee::getHiring_date(void) {
return this->hiring_date;
}
String^ NS_Models::Employee::getEmail(void) {
return this->email;
}
int NS_Models::Employee::getEmployee(void) {
return getId();
}
void NS_Models::Employee::setEmplyeeID(int _eId) {
this->setId(_eId);
}
void NS_Models::Employee::setEmployeeUpperHierarchy(int _id) {
this->upper_hierarchy_id = _id;
}
void NS_Models::Employee::setEmployeeHiringDate(String^ date) {
this->hiring_date = date;
}
void NS_Models::Employee::setEmployeeRank(String^ _rank) {
this->rank = _rank;
}
void NS_Models::Employee::setEmployeePassword(String^ pwd) {
this->password = pwd;
}
void NS_Models::Employee::setEmployeeEmail(String^ _email) {
this->email = _email;
}
String^ NS_Models::Employee::selectCon(String^ email, String^ password)
{
return "SELECT email FROM EMPLOYEES WHERE email ='"+ email + "' and password = '"+ password+"'";
}
String^ NS_Models::Employee::SELECT()
{
return "feur";
}
String^ NS_Models::Employee::INSERT()
{
return "feur";
}
String^ NS_Models::Employee::UPDATE()
{
return "feur";
}
String^ NS_Models::Employee::DELETE()
{
return "feur";
}