-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBankCustomer.java
More file actions
105 lines (78 loc) · 1.93 KB
/
Copy pathBankCustomer.java
File metadata and controls
105 lines (78 loc) · 1.93 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package Homework_ATM_FinalProject;
public class BankCustomer {
protected String firstName;
protected String lastName;
protected String accountNumber;
protected String password;
protected String dayOfBirth;
protected String email;
protected int phone;
protected double balance;
public BankCustomer() {
}
public BankCustomer(String firstName, String lastName, String accountNumber, String password,
String dayOfBirth, String email, int phone, double balance) {
super();
this.firstName = firstName;
this.lastName = lastName;
this.accountNumber = accountNumber;
this.password = password;
this.dayOfBirth = dayOfBirth;
this.email = email;
this.phone = phone;
this.balance = balance;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getAccountNumber() {
return accountNumber;
}
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getDayOfBirth() {
return dayOfBirth;
}
public void setDayOfBirth(String dayOfBirth) {
this.dayOfBirth = dayOfBirth;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public int getPhone() {
return phone;
}
public void setPhone(int phone) {
this.phone = phone;
}
public double getBalance() {
return balance;
}
public void setBalance(double balance) {
this.balance = balance;
}
@Override
public String toString() {
return firstName + ", " + lastName + ", " + accountNumber + ", " + password + ", "
+ dayOfBirth + ", " + email + ", " + phone + ", " + balance;
}
}