Added enum for result types.

This commit is contained in:
vsuryakumar
2023-01-30 13:48:09 +05:30
parent 7b475fb922
commit e945505568
2 changed files with 9 additions and 1 deletions

View File

@@ -4,5 +4,5 @@ data class PatientData(
val name: String,
val age: Int,
val gender: String,
var results: String?
var results: TestRightResultType
)

View File

@@ -0,0 +1,8 @@
package com.example.refactoredapp.data.model
enum class TestRightResultType {
NORMAL,
SICKLECELLTRAIT,
SICKLECELLDISEASE,
UNDEFINED
}