Added stubbed function for logging in staff
This commit is contained in:
@@ -11,13 +11,17 @@ class StaffService(private val connection: Connection) {
|
|||||||
private const val SELECT_STAFF_BY_ID = ""
|
private const val SELECT_STAFF_BY_ID = ""
|
||||||
private const val INSERT_STAFF = ""
|
private const val INSERT_STAFF = ""
|
||||||
private const val UPDATE_STAFF_BY_ID = ""
|
private const val UPDATE_STAFF_BY_ID = ""
|
||||||
// In the event are "deleted" erroneously, having a flag set instead of actually removing the entry allows
|
// In the event staff are "deleted" erroneously, having a flag set instead of actually removing the entry allows
|
||||||
// for quick reversal.
|
// for quick reversal.
|
||||||
private const val ARCHIVE_STAFF_BY_ID = ""
|
private const val ARCHIVE_STAFF_BY_ID = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun create() {}
|
suspend fun create() {}
|
||||||
|
|
||||||
|
fun loginStaffByLoginUsername(username: String, password: String): Boolean {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
suspend fun read() {}
|
suspend fun read() {}
|
||||||
|
|
||||||
suspend fun update() {}
|
suspend fun update() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user