Cambiado displayName.

This commit is contained in:
Marcos Garcia Nuñez
2019-12-14 19:58:12 +01:00
parent 5276ff017e
commit 598e4cce71

View File

@@ -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;
} }