Skip to content

Commit

Permalink
[FEAT/#122] 장소 중복 검사 dto 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
angryPodo committed Jan 22, 2025
1 parent c8f0e8f commit d327151
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.spoony.spoony.data.dto.request

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class PlaceCheckRequestDTO(
@SerialName("userId")
val userId: Long,
@SerialName("latitude")
val latitude: Double,
@SerialName("longitude")
val longitude: Double
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.spoony.spoony.data.dto.response

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class PlaceCheckResponseDTO(
@SerialName("duplicate")
val duplicate: Boolean
)

0 comments on commit d327151

Please sign in to comment.