27 lines
466 B
Java
27 lines
466 B
Java
|
|
public class EmployeeData {
|
|
|
|
String idEmployee;
|
|
String nmEmployee;
|
|
String knEmployee;
|
|
String mailAddress;
|
|
String password;
|
|
String idDepartment;
|
|
|
|
public void showInfo() {
|
|
|
|
System.out.println(this.idEmployee+"\t"
|
|
+this.nmEmployee+"\t"
|
|
+this.knEmployee+"\t"
|
|
+this.mailAddress+"\t"
|
|
+this.password+"\t"
|
|
+this.idDepartment);
|
|
|
|
}
|
|
|
|
public boolean isMatchId( String id ) {
|
|
return id.equals(this.idEmployee) ;
|
|
}
|
|
|
|
}
|