build guest rating system
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.android.trisolarisserver.controller.dto
|
||||
|
||||
import java.util.UUID
|
||||
|
||||
data class GuestRatingCreateRequest(
|
||||
val bookingId: UUID,
|
||||
val score: String,
|
||||
val notes: String? = null
|
||||
)
|
||||
|
||||
data class GuestRatingResponse(
|
||||
val id: UUID,
|
||||
val orgId: UUID,
|
||||
val propertyId: UUID,
|
||||
val guestId: UUID,
|
||||
val bookingId: UUID,
|
||||
val score: String,
|
||||
val notes: String?,
|
||||
val createdAt: String,
|
||||
val createdByUserId: UUID?
|
||||
)
|
||||
@@ -60,7 +60,8 @@ data class GuestResponse(
|
||||
val phoneE164: String?,
|
||||
val nationality: String?,
|
||||
val addressText: String?,
|
||||
val vehicleNumbers: Set<String>
|
||||
val vehicleNumbers: Set<String>,
|
||||
val averageScore: Double?
|
||||
)
|
||||
|
||||
data class GuestVehicleRequest(
|
||||
|
||||
Reference in New Issue
Block a user