2023-01-27 15:14:36 +01:00
|
|
|
package com.bib.essensbestellungsverwaltung;
|
|
|
|
|
2023-02-01 21:33:53 +01:00
|
|
|
/**
|
|
|
|
* An Allergy, used by Food and AllergySeverity, not intended to be changed
|
|
|
|
* @author Malte Schulze Hobeling
|
|
|
|
*/
|
2023-01-27 15:14:36 +01:00
|
|
|
public class Allergy {
|
|
|
|
private final long id;
|
|
|
|
private final String name;
|
|
|
|
private final String handle;
|
|
|
|
|
|
|
|
public Allergy(long id, String name, String handle) {
|
|
|
|
this.id = id;
|
|
|
|
this.name = name;
|
|
|
|
this.handle = handle;
|
|
|
|
}
|
|
|
|
|
|
|
|
public long getId() {
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getName() {
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getHandle() {
|
|
|
|
return handle;
|
|
|
|
}
|
2023-02-05 15:11:32 +01:00
|
|
|
|
2023-01-27 15:14:36 +01:00
|
|
|
}
|