-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCTOR.java
23 lines (15 loc) · 1.01 KB
/
DOCTOR.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import java.io.File;
public class DOCTOR extends EXPERT {
public DOCTOR(String name, String lastname, String Email, String Password, String phone_number, float amount, int idWallet, String address_name, String address_number, String zipCode, String country, int id,
String friendly_name, double salary, File degreeFile, ADMIN acceptedBy, USERS users, MESSAGES messages) {
super(name, lastname, Email, Password, phone_number, amount, idWallet, address_name, address_number, zipCode, country, id, friendly_name, salary, degreeFile, acceptedBy, users, messages);
}
public DOCTOR(String name, String lastname, String Email, String Password, String phone_number) {
super(name, lastname, Email, Password, phone_number, 0, 0, null, null, null, null, 0, null, 0, null, null, null, null);
this.users = new USERS();
}
public DOCTOR(String email, String name, String lastname) {
super(email, name, lastname);
this.users = new USERS();
}
}