Archived
20 lines
526 B
Kotlin
20 lines
526 B
Kotlin
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",
|
|
)
|
|
data class OfferCanteen(
|
|
@PrimaryKey val id: Int,
|
|
val canteen: String,
|
|
val openingHours: String,
|
|
) |