From d44a66894dd5f739ec75e7c436703f56a2ca0f81 Mon Sep 17 00:00:00 2001 From: Nicholas Kalar Date: Tue, 26 Aug 2025 14:26:57 -0400 Subject: [PATCH] Added stubbed function for logging in staff --- src/main/kotlin/service/StaffService.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/service/StaffService.kt b/src/main/kotlin/service/StaffService.kt index cdf7416..df21e70 100644 --- a/src/main/kotlin/service/StaffService.kt +++ b/src/main/kotlin/service/StaffService.kt @@ -11,13 +11,17 @@ class StaffService(private val connection: Connection) { private const val SELECT_STAFF_BY_ID = "" private const val INSERT_STAFF = "" 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. private const val ARCHIVE_STAFF_BY_ID = "" } suspend fun create() {} + fun loginStaffByLoginUsername(username: String, password: String): Boolean { + return true + } + suspend fun read() {} suspend fun update() {}