most Objects done

This commit is contained in:
2023-01-30 04:26:30 +01:00
parent a0eed3ce51
commit 81bcb44d74
15 changed files with 396 additions and 121 deletions

View File

@@ -1,4 +1,7 @@
package com.bib.essensbestellungsverwaltung;
/*
@author Malte Schulze Hobeling
*/
import java.util.List;
@@ -51,4 +54,9 @@ public class Food {
public List<Allergy> getAllergies() {
return allergies;
}
@Override
public String toString() {
return getName();
}
}