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 22:17:00 +02:00
|
|
|
package com.denizk0461.studip.model
|
|
|
|
|
|
2023-04-17 12:09:54 +02:00
|
|
|
import androidx.room.Entity
|
|
|
|
|
import androidx.room.PrimaryKey
|
|
|
|
|
|
2023-04-23 11:57:03 +02:00
|
|
|
/**
|
|
|
|
|
* 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
|
|
|
|
|
*/
|
2023-04-17 12:09:54 +02:00
|
|
|
@Entity(
|
|
|
|
|
tableName = "offer_canteen",
|
|
|
|
|
)
|
2023-04-16 22:17:00 +02:00
|
|
|
data class OfferCanteen(
|
2023-04-17 12:09:54 +02:00
|
|
|
@PrimaryKey val id: Int,
|
2023-04-16 22:17:00 +02:00
|
|
|
val canteen: String,
|
|
|
|
|
)
|