Archived
Implemented data classes for database optimisations
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
package com.denizk0461.studip.model
|
||||
|
||||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
|
||||
@Entity(
|
||||
tableName = "offer_canteen",
|
||||
)
|
||||
data class OfferCanteen(
|
||||
val id: Int,
|
||||
@PrimaryKey val id: Int,
|
||||
val canteen: String,
|
||||
)
|
||||
Reference in New Issue
Block a user