From b23eb10f04b04c325c51ed5f293ac4860b5ed7d3 Mon Sep 17 00:00:00 2001 From: sathwikcs <85106054+sathwikcs@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:22:02 +0530 Subject: [PATCH] EmployeePreferencesKeys --- .../data/dataStore/EmployeePreferencesKeys.kt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app/src/main/java/in/sminnovations/attendanceapp/data/dataStore/EmployeePreferencesKeys.kt diff --git a/app/src/main/java/in/sminnovations/attendanceapp/data/dataStore/EmployeePreferencesKeys.kt b/app/src/main/java/in/sminnovations/attendanceapp/data/dataStore/EmployeePreferencesKeys.kt new file mode 100644 index 0000000..58b513c --- /dev/null +++ b/app/src/main/java/in/sminnovations/attendanceapp/data/dataStore/EmployeePreferencesKeys.kt @@ -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") +} \ No newline at end of file