Added opening hours and a button for the user to view them, but the formatting sucks

This commit is contained in:
denizk0461
2023-04-25 16:55:17 +02:00
parent 6b1d77dfb3
commit 65114264c4
13 changed files with 127 additions and 19 deletions
@@ -6,8 +6,9 @@ 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 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",
@@ -15,4 +16,5 @@ import androidx.room.PrimaryKey
data class OfferCanteen(
@PrimaryKey val id: Int,
val canteen: String,
val openingHours: String,
)