forked from loopccoew/Buffer_3.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CheckUp.java
54 lines (49 loc) · 1.24 KB
/
CheckUp.java
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
package loop;
public class Checkup {
Doctor Doctor;
Patient Patient;
int Priority;
String Recomendation;
String Date;
public Checkup(Doctor Doctor, loop.Patient Patient, int Priority, String Recomendation, String Date) {
this.Doctor = Doctor;
this.Patient = Patient;
this.Priority = Priority;
this.Recomendation = Recomendation;
this.Date = Date;
}
public Doctor getDoctor() {
return Doctor;
}
public void setDoctor(Doctor Doctor) {
this.Doctor = Doctor;
}
public Patient getPatient() {
return Patient;
}
public void setPatient(Patient Patient) {
this.Patient = Patient;
}
public int getPriority() {
return Priority;
}
public void setPriority(int Priority) {
this.Priority = Priority;
}
public String getRecomendation() {
return Recomendation;
}
public void setRecomendation(String Recomendation) {
this.Recomendation = Recomendation;
}
public String getDate() {
return Date;
}
public void setDate(String Date) {
this.Date = Date;
}
@Override
public String toString() {
return "Checkup [Doctor=" + Doctor.toString() + ", Patient=" + Patient.toString()+ ", priority=" + Priority + ", Recomendation=" + Recomendation + ", Date=" + Date + "]";
}
}