merged data models into one.

This commit is contained in:
vsuryakumar
2023-05-19 13:13:17 +05:30
parent 645c3b6a02
commit d914c86076
4 changed files with 27 additions and 30 deletions

View File

@@ -1,14 +0,0 @@
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

@@ -1,8 +0,0 @@
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

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

View File

@@ -12,4 +12,30 @@ data class PatientAadhaarData(
val isMarried: Boolean?,
val bloodGroup: BloodGroup?,
)
) {
enum class Gender {
MALE,
FEMALE,
OTHER
}
enum class BloodGroup {
O_POSITIVE, O_NEGATIVE,
A_POSITIVE, A_NEGATIVE,
B_POSITIVE, B_NEGATIVE,
AB_POSITIVE, AB_NEGATIVE,
}
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,
)
}