Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions app/src/main/java/org/piramalswasthya/cho/model/Patient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ import com.google.gson.annotations.Expose
data class Patient (

@PrimaryKey
@NonNull

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EmmanuelAdesope Yes, Here @nonnull Annotation is not required as we assigned default value

var patientID: String = "",

@ColumnInfo(name = "firstName")
Expand Down Expand Up @@ -153,7 +152,7 @@ data class Patient (
var healthIdDetails: BenHealthIdDetails? = null,

@ColumnInfo(name = "lab_technician_flag")
val labTechnicianFlag: Int? = 0,
var labTechnicianFlag: Int? = 0,

@ColumnInfo(name = "faceEmbedding")
var faceEmbedding: List<Float>? = null,
Expand Down