Added new data models

This commit is contained in:
vsuryakumar
2023-05-19 13:08:40 +05:30
parent 0ec3c65298
commit 645c3b6a02
4 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package com.example.hpos.data.model
data class Address(
val house: String?,
val street: String?,
val location: String?,
val landMark: String?,
val postOffice: String?,
val district: String,
val subDistrict: String,
val state: String,
val vtc: String?,
val pinCode: Int,
)

View File

@@ -0,0 +1,8 @@
package com.example.hpos.data.model
enum class BloodGroup {
O_POSITIVE, O_NEGATIVE,
A_POSITIVE, A_NEGATIVE,
B_POSITIVE, B_NEGATIVE,
AB_POSITIVE, AB_NEGATIVE,
}

View File

@@ -0,0 +1,7 @@
package com.example.hpos.data.model
enum class Gender {
MALE,
FEMALE,
OTHER
}

View File

@@ -0,0 +1,15 @@
package com.example.hpos.data.model
data class PatientAadhaarData(
val uuid: String?,
val name: String,
val gender: Gender,
val careOf: String,
val yob: String,
val address: Address,
val pinCode: String,
val mobile: String?,
val isMarried: Boolean?,
val bloodGroup: BloodGroup?,
)