Added basic worker so tests can create them
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user