Mostrar codigo personal en display name.
This commit is contained in:
@@ -90,6 +90,10 @@ public class PatientTO implements Serializable {
|
|||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getDisplayName() {
|
||||||
|
return String.format("[%s] %s %s", this.personalIdentificationCode, this.name, this.surname);
|
||||||
|
}
|
||||||
|
|
||||||
public FamilyDoctorTO getFamilyDoctor() {
|
public FamilyDoctorTO getFamilyDoctor() {
|
||||||
return familyDoctor;
|
return familyDoctor;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user