5段階目終わりました

This commit is contained in:
2026-09-15 16:10:54 +09:00
parent a76eb8d4a6
commit 1158708741
2 changed files with 28 additions and 49 deletions

View File

@@ -5,6 +5,22 @@ public class EmployeeData {
private String knEmployee;
private String mailAddress;
private String password;
private String idDepartment;
public EmployeeData() {
}
public EmployeeData(String idEmployee, String nmEmployee, String knEmployee, String mailAddress, String password,
String idDepartment) {
this.setIdEmployee(idEmployee);
this.setNmEmployee(nmEmployee);
this.setKnEmployee(knEmployee);
this.setMailAddress(mailAddress);
this.setPassword(password);
this.setIdDepartment(idDepartment);
}
public String getIdEmployee() {
return idEmployee;
}
@@ -53,11 +69,10 @@ public class EmployeeData {
this.idDepartment = idDepartment;
}
private String idDepartment;
public void showInfo() {
System.out.println(this.getIdEmployee() + "\t" + this.getNmEmployee() + "\t" + this.getKnEmployee() + "\t" + this.getMailAddress() + "\t" + this.getPassword() + "\t" + this.getIdDepartment());
System.out.println(this.getIdEmployee() + "\t" + this.getNmEmployee() + "\t" + this.getKnEmployee() + "\t"
+ this.getMailAddress() + "\t" + this.getPassword() + "\t" + this.getIdDepartment());
}
}