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/OfferCanteen.kt
T

20 lines
526 B
Kotlin
Raw Normal View History

2023-04-16 22:17:00 +02:00
package com.denizk0461.studip.model
import androidx.room.Entity
import androidx.room.PrimaryKey
/**
* Entity for binding several canteen items to a specific date. Registered in the app database.
*
* @param id primary key that uniquely identifies the item
* @param canteen name of the canteen
* @param openingHours opening hours of the canteen
*/
@Entity(
tableName = "offer_canteen",
)
2023-04-16 22:17:00 +02:00
data class OfferCanteen(
@PrimaryKey val id: Int,
2023-04-16 22:17:00 +02:00
val canteen: String,
val openingHours: String,
2023-04-16 22:17:00 +02:00
)