-
Notifications
You must be signed in to change notification settings - Fork 0
/
Customer.h
46 lines (43 loc) · 1.1 KB
/
Customer.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
#include <string>
#include "profileTemplate.h"
using namespace std;
/*
Author: Tran Hong Nghiep
Contributor: Le Kim Bang, Nguyen Quang Minh
---
Class "Customer" - Status: Complete
This class is inherited from Class "profileTemplate"
This class specifies these members below to define customer details
*/
class Customer : public profileTemplate {
/*
Delivered variables from profileTemplate
# string phoneNumber
# string firstName, lastName fullName;
Delivered functions from profileTemplate
# void profileINFO()
+ profileTemplate()
+ profileTemplate(string pNum, string fName, string lName)
+ select_FullName()
+ select_PhoneNumber()
*/
public:
Customer();
/*
Constructor of Customer
Default Definition
phoneNumber = ""
firstName = ""
lastName = ""
fullName = ""
*/
void add_CustomerINFO();
/*
Function to fill value of these members below
phoneNum = tempNum;
firstName = tempFName
lastName = tempLName
fullName = lastName + " " firstName
phoneNum can only be assigned when tempNum is follow the template (Ex: 0909246357)
*/
};