Added basic worker so tests can create them

This commit is contained in:
2025-12-03 17:59:30 +01:00
parent 8c4849fdf0
commit 4bb1e13f21
5 changed files with 26 additions and 3 deletions

View File

@@ -1,4 +1,17 @@
package hhn.temp.project;
public class Worker {
String name;
int workerId;
public Worker(String name, int workerId) {
this.name = name;
this.workerId = workerId;
}
public String getName() {
return name;
}
public int getId() {
return workerId;
}
}