mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-04 21:09:38 +02:00
Simon Bruder
bac025fd0a
This finally makes the licensing under AGPL-3.0-or-later explicit after I got the okay from the kickstart source owners. This also checks the REUSE compliance in a pre commit hook, and therefore also in CI.
21 lines
480 B
Java
21 lines
480 B
Java
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
// SPDX-FileCopyrightText: 2023 swt23w23
|
|
package catering.order;
|
|
|
|
public enum OrderType {
|
|
RENT_A_COOK,
|
|
EVENT_CATERING,
|
|
MOBILE_BREAKFAST,
|
|
PARTY_SERVICE;
|
|
|
|
public String toHumanReadable() {
|
|
return switch (this) {
|
|
case RENT_A_COOK -> "Miete einen Koch";
|
|
case EVENT_CATERING -> "Veranstaltungsbewirtung";
|
|
case MOBILE_BREAKFAST -> "Mobiles Frühstück";
|
|
case PARTY_SERVICE -> "Sausedienst";
|
|
default -> null;
|
|
};
|
|
}
|
|
}
|