Mostrar codigo personal en display name.
This commit is contained in:
1 parent
16d7cea829
commit
516a5d0701
1 file changed
+4
@@ -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