This repository has been archived on 2026-05-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2023-04-18 10:25:45 +02:00
|
|
|
package com.denizk0461.studip.model
|
|
|
|
|
|
2023-04-23 11:57:03 +02:00
|
|
|
/**
|
|
|
|
|
* Enumeration that can be used in conjunction with DietaryPrefObject.kt to more concisely look up,
|
|
|
|
|
* specify, and iterate through dietary preferences. Order of these elements matches the order used
|
|
|
|
|
* on the website of the Studierendenwerk Bremen.
|
|
|
|
|
*
|
|
|
|
|
* @param value string value that can be used where the enum value itself cannot be used (e.g.
|
|
|
|
|
* SharedPreferences)
|
|
|
|
|
*/
|
2023-04-18 10:25:45 +02:00
|
|
|
enum class DietaryPreferences(val value: String) {
|
|
|
|
|
FAIR("isFair"),
|
|
|
|
|
FISH("isFish"),
|
|
|
|
|
POULTRY("isPoultry"),
|
|
|
|
|
LAMB("isLamb"),
|
|
|
|
|
VITAL("isVital"),
|
|
|
|
|
BEEF("isBeef"),
|
|
|
|
|
PORK("isPork"),
|
|
|
|
|
VEGAN("isVegan"),
|
|
|
|
|
VEGETARIAN("isVegetarian"),
|
|
|
|
|
GAME("isGame"),
|
|
|
|
|
}
|