Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Doctor {
- private String doctorId;
- private String name;
- public Doctor() {
- }
- public Doctor(String doctorId, String name) {
- this.doctorId = doctorId;
- this.name = name;
- }
- // Геттеры и сеттеры
- public String getDoctorId() {
- return doctorId;
- }
- public void setDoctorId(String doctorId) {
- this.doctorId = doctorId;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment