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