15 lines
569 B
Java
Raw Normal View History

2023-01-30 04:26:30 +01:00
package com.bib.essensbestellungsverwaltung;
2023-02-01 21:33:53 +01:00
/**
* one constructor is used to create new worker the other is used to create existing worker from database
* @author Malte Schulze Hobeling
*/
2023-01-30 04:26:30 +01:00
public class Worker extends User{
public Worker(long id, String name, String firstname, String password, String email, Address address) {
super(id, name, firstname, password, email, address);
}
public Worker(String name, String firstname, String password, String email, Address address) {
super(name, firstname, password, email, address);
}
}