3日目段階4です

This commit is contained in:
2026-09-24 13:16:31 +09:00
parent f33c62d2db
commit 32a194f04c
3 changed files with 28 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
public class EmployeeData {
public class EmployeeData extends BaseData {
private String idEmployee;
private String nmEmployee;
private String knEmployee;
@@ -80,4 +80,13 @@ public class EmployeeData {
return idEmployee.equals(id);
}
public String toCSV() {
return getIdEmployee() + "," + getNmEmployee() + "," + getKnEmployee() + "," + getMailAddress()
+ "," + getPassword() + "," + getIdDepartment();
}
public String getPrimaryKeyValue() {
return idEmployee;
}
}