completed Lv9
This commit is contained in:
26
src/main/java/EmployeeData.java
Normal file
26
src/main/java/EmployeeData.java
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
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) ;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user