Cambiado displayName.
This commit is contained in:
@@ -85,6 +85,10 @@ public class SpecialistDoctorTO implements Serializable {
|
|||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getDisplayName() {
|
||||||
|
return String.format("[%s] %s %s", this.professionalNumber, this.name, this.surname);
|
||||||
|
}
|
||||||
|
|
||||||
public MedicalSpecialtyTO getMedicalSpecialty() {
|
public MedicalSpecialtyTO getMedicalSpecialty() {
|
||||||
return medicalSpecialty;
|
return medicalSpecialty;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user