-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdmin.cpp
More file actions
33 lines (23 loc) · 811 Bytes
/
Copy pathAdmin.cpp
File metadata and controls
33 lines (23 loc) · 811 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
#include "Admin.h"
#include <vector>
using namespace std;
Admin::Admin(){
this->adminID = 0;
this->businessID = 0;
this->adminUserName ="";
this->adminPass = "";
}
Admin::Admin(int businessID, string username, string pass) {
this->adminID = 0;
this->businessID = businessID;
this->adminUserName = username;
this->adminPass = pass;
}
void Admin::setAdminID(int id){this->adminID = id;}
void Admin::setBusinessID(int id){this->businessID = id;}
void Admin::setAdminUserName(string user){this->adminUserName = user;}
void Admin::setAdminPass(string pass){this->adminPass = pass;}
int Admin::getAdminID(){return this->adminID;}
int Admin::getBusinessID(){return this->businessID;}
string Admin::getAdminUserName(){return this->adminUserName;}
string Admin::getAdminPass(){return this->adminPass;}