2023-04-16 18:19:06 +02:00
|
|
|
package com.denizk0461.studip.model
|
|
|
|
|
|
|
|
|
|
import androidx.room.Entity
|
|
|
|
|
import androidx.room.PrimaryKey
|
|
|
|
|
|
2023-04-17 12:09:54 +02:00
|
|
|
//@Entity(tableName = "offers")
|
2023-04-16 18:19:06 +02:00
|
|
|
data class CanteenOffer(
|
2023-04-17 12:09:54 +02:00
|
|
|
// @PrimaryKey val id: Int,
|
|
|
|
|
val id: Int,
|
2023-04-16 18:19:06 +02:00
|
|
|
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,
|
2023-04-16 18:19:06 +02:00
|
|
|
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
|
|
|
|
|
)
|