edgar 2016-07-13 13:49:47 +00:00
parent f6283b33c2
commit fe17984137
1 changed files with 148 additions and 149 deletions

View File

@ -74,7 +74,6 @@ public class Empleado implements Serializable {
@ManyToOne @ManyToOne
private Empresa empresa; private Empresa empresa;
public Empleado() { public Empleado() {
super(); super();
} }
@ -254,9 +253,9 @@ public class Empleado implements Serializable {
@Override @Override
public String toString() { public String toString() {
return this.getNombEmpleado(); String nombMaterno = getNombMaterno() != null ? getNombMaterno() : "";
// return this.getNombPaterno() + getNombMaterno() + getNombEmpleado(); String nombPaterno = getNombPaterno() != null ? getNombPaterno() : "";
return getNombEmpleado() + " " + nombMaterno + " " + nombPaterno;
} }
} }