2日目 段階5 小澤

This commit is contained in:
2026-09-15 15:28:56 +09:00
parent 1abebc37e0
commit bb15d0a2c6
2 changed files with 88 additions and 39 deletions

View File

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