getting started
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.android.trisolarisserver.controller
|
||||
|
||||
import com.android.trisolarisserver.component.PropertyAccess
|
||||
import org.springframework.stereotype.Component
|
||||
import org.springframework.web.bind.annotation.GetMapping
|
||||
import org.springframework.web.bind.annotation.PathVariable
|
||||
import java.util.UUID
|
||||
|
||||
class Rooms {
|
||||
|
||||
// private val propertyAccess: PropertyAccess;
|
||||
// @GetMapping("/properties/{propertyId}/rooms/free")
|
||||
// fun freeRooms(@PathVariable propertyId: UUID, principal: MyPrincipal): List<RoomDto> {
|
||||
// propertyAccess.requireMember(propertyId, principal.userId)
|
||||
// return roomService.freeRooms(propertyId)
|
||||
// }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user