Archived
Login page now disallows visiting a domain other than the school's login page to prevent a successful login from another domain allowing access to the app's content
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.denizd.substitutionplan.models
|
||||
|
||||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
|
||||
@Entity(tableName = "subst_table")
|
||||
internal data class Substitution(
|
||||
val group: String,
|
||||
val date: String,
|
||||
val time: String,
|
||||
val course: String,
|
||||
val room: String,
|
||||
val additional: String,
|
||||
val teacher: String,
|
||||
val type: String,
|
||||
val priority: Int
|
||||
) {
|
||||
|
||||
@PrimaryKey(autoGenerate = true)
|
||||
var id: Int = 0
|
||||
}
|
||||
Reference in New Issue
Block a user