Skip to content

Commit 0eff9bc

Browse files
chore: edit dto according to the api
1 parent b878081 commit 0eff9bc

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/main/kotlin/application/presenter/api/tracking/RoomsTrackingDataDto.kt

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,13 @@ import kotlinx.serialization.Serializable
1212

1313
/**
1414
* Dto for tracking data in a room.
15-
* @param entries a list of tracking information.
16-
* @param total total number of entries.
17-
*/
18-
@Serializable
19-
data class RoomsTrackingDataDto(
20-
val entries: List<Entries>,
21-
val total: Int,
22-
)
23-
24-
/**
25-
* Tracking information.
2615
* @param dateTime the date time of the tracking.
2716
* @param roomId the room id.
2817
* @param healthProfessionalId the id of the health professional.
2918
* @param trackingType the type of the tracking.
3019
*/
3120
@Serializable
32-
data class Entries(
21+
data class RoomsTrackingDataDto(
3322
val dateTime: String,
3423
val roomId: String,
3524
val healthProfessionalId: String,

0 commit comments

Comments
 (0)