EmployeePreferencesKeys

This commit is contained in:
sathwikcs
2024-10-18 12:22:02 +05:30
parent 17eb17a9d9
commit b23eb10f04

View File

@@ -0,0 +1,17 @@
package `in`.sminnovations.attendanceapp.data.dataStore
import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.preferences.core.stringPreferencesKey
object EmployeePreferencesKeys {
val ANDROID_ID = stringPreferencesKey("android_id")
val DATE_OF_JOINING = stringPreferencesKey("date_of_joining")
val DATE_OF_LEAVING = stringPreferencesKey("date_of_leaving")
val DESIGNATION = stringPreferencesKey("designation")
val EMPLOYEE_STATUS = booleanPreferencesKey("employee_status")
val ID = stringPreferencesKey("id")
val NAME = stringPreferencesKey("name")
val PASSWORD = stringPreferencesKey("password")
val PHOTO = stringPreferencesKey("photo")
val DATE_OF_BIRTH = stringPreferencesKey("date_of_birth")
}