| 1 | package Hospital; |
| 2 | |
| 3 | public class Appointment { |
| 4 | private int id; |
| 5 | private int patientId; |
| 6 | private int doctorId; |
| 7 | private String date; |
| 8 | |
| 9 | public Appointment(int id, int patientId, int doctorId, String date) { |
| 10 | this.id = id; |
| 11 | this.patientId = patientId; |
| 12 | this.doctorId = doctorId; |
| 13 | this.date = date; |
| 14 | } |
| 15 | |
| 16 | public int getId() { |
| 17 | return id; |
| 18 | } |
| 19 | |
| 20 | public void setId(int id) { |
| 21 | this.id = id; |
| 22 | } |
| 23 | |
| 24 | public int getPatientId() { |
| 25 | return patientId; |
| 26 | } |
| 27 | |
| 28 | public void setPatientId(int patientId) { |
| 29 | this.patientId = patientId; |
| 30 | } |
| 31 | |
| 32 | public int getDoctorId() { |
| 33 | return doctorId; |
| 34 | } |
| 35 | |
| 36 | public void setDoctorId(int doctorId) { |
| 37 | this.doctorId = doctorId; |
| 38 | } |
| 39 | |
| 40 | public String getDate() { |
| 41 | return date; |
| 42 | } |
| 43 | |
| 44 | public void setDate(String date) { |
| 45 | this.date = date; |
| 46 | } |
| 47 | } |
nothing calls this directly
no outgoing calls
no test coverage detected