一日目
This commit is contained in:
27
EmployeeData.java
Normal file
27
EmployeeData.java
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
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);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user