Added enum for result types.
This commit is contained in:
@@ -4,5 +4,5 @@ data class PatientData(
|
||||
val name: String,
|
||||
val age: Int,
|
||||
val gender: String,
|
||||
var results: String?
|
||||
var results: TestRightResultType
|
||||
)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.example.refactoredapp.data.model
|
||||
|
||||
enum class TestRightResultType {
|
||||
NORMAL,
|
||||
SICKLECELLTRAIT,
|
||||
SICKLECELLDISEASE,
|
||||
UNDEFINED
|
||||
}
|
||||
Reference in New Issue
Block a user