一日目

This commit is contained in:
2026-10-14 17:34:00 +09:00
parent 79fb30d941
commit 6a268bdb79
2 changed files with 105 additions and 0 deletions

27
EmployeeData.java Normal file
View 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);
}
}