#21 basic subject list

This commit is contained in:
brreynie 2023-04-29 12:28:30 +02:00
parent 76e69dd03c
commit d03775000a
16 changed files with 228 additions and 22 deletions

View file

@ -7,4 +7,4 @@ data class SessionReport(
@DocumentId val id: String = "",
val studyTime: Int = 0,
val endTime: Timestamp = Timestamp(0, 0)
)
)

View file

@ -0,0 +1,11 @@
package be.ugent.sel.studeez.data.local.models.task
import com.google.firebase.firestore.DocumentId
data class Subject(
@DocumentId val id: String = "",
val name: String = "",
val tasks: List<Task> = mutableListOf(),
val time: Int = 0,
val color: Int = 0,
)

View file

@ -0,0 +1,9 @@
package be.ugent.sel.studeez.data.local.models.task
import com.google.firebase.firestore.DocumentId
data class Task(
@DocumentId val id: String = "",
val name: String = "",
val completed: Boolean = false,
)