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-16 18:19:06 +02:00
|
|
|
package com.denizk0461.studip.model
|
|
|
|
|
|
2023-04-18 15:39:49 +02:00
|
|
|
import androidx.room.ColumnInfo
|
|
|
|
|
|
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,
|
2023-04-18 15:39:49 +02:00
|
|
|
val itemId: Int,
|
2023-04-16 18:19:06 +02:00
|
|
|
val date: String,
|
2023-04-17 14:19:06 +02:00
|
|
|
val dateId: Int,
|
2023-04-16 18:19:06 +02:00
|
|
|
val category: String,
|
2023-04-17 14:19:06 +02:00
|
|
|
val categoryId: Int,
|
|
|
|
|
val canteen: String,
|
|
|
|
|
val canteenId: Int,
|
2023-04-16 18:19:06 +02:00
|
|
|
val title: String,
|
|
|
|
|
val price: String, // price for students
|
2023-04-18 15:39:49 +02:00
|
|
|
@ColumnInfo(name = "dietary_preferences") val dietaryPreferences: String,
|
2023-04-16 18:19:06 +02:00
|
|
|
)
|