#21 basic subject list
This commit is contained in:
parent
76e69dd03c
commit
d03775000a
16 changed files with 228 additions and 22 deletions
|
@ -7,4 +7,4 @@ data class SessionReport(
|
|||
@DocumentId val id: String = "",
|
||||
val studyTime: Int = 0,
|
||||
val endTime: Timestamp = Timestamp(0, 0)
|
||||
)
|
||||
)
|
|
@ -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,
|
||||
)
|
|
@ -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,
|
||||
)
|
Reference in a new issue