EmployeePreferencesKeys
This commit is contained in:
@@ -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")
|
||||
}
|
||||
Reference in New Issue
Block a user