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.
Files
weserplaner/app/src/main/java/com/denizk0461/studip/model/CanteenOffer.kt
T

26 lines
826 B
Kotlin
Raw Normal View History

package com.denizk0461.studip.model
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "offers")
data class CanteenOffer(
@PrimaryKey val id: Int,
val date: String,
2023-04-16 21:41:46 +02:00
val dateId: Int, // gives every item on the same day the same ID for easier filtering
2023-04-16 22:17:00 +02:00
// val canteen: Int,
val category: String,
val title: String,
val price: String, // price for students
val isFair: Boolean, // artgerechte Tierhaltung
val isFish: Boolean, // Fisch
val isPoultry: Boolean, // Geflügel
val isLamb: Boolean, // Lamm
val isVital: Boolean, // mensaVital
val isBeef: Boolean, // Rindfleisch
val isPork: Boolean, // Schweinefleisch
val isVegan: Boolean, // plant-based (vegan)
val isVegetarian: Boolean, // vegetarisch
val isGame: Boolean, // Wild
)