Skip to content

Commit

Permalink
[Merge] 불필요한 주석 및 파일 삭제 -> develop
Browse files Browse the repository at this point in the history
Chore/221 불필요한주석및파일삭제
  • Loading branch information
unam98 authored Sep 14, 2023
2 parents cdefa4e + 360a108 commit b7135f5
Show file tree
Hide file tree
Showing 58 changed files with 308 additions and 437 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.runnect.runnect.data.dto.response
package com.runnect.runnect.data.dto

data class LoginDTO(
val status: Int,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class RequestPostRecordDto(
data class RequestPostRecordDTO(
@SerialName("courseId")
val courseId: Int,
@SerialName("publicCourseId")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class RequestPutMyDrawDto(
data class RequestPutMyDrawDTO(
@SerialName("courseIdList")
val courseIdList: List<Int>
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class ResponseGetCourseDto(
data class ResponseGetCourseDTO(
@SerialName("data")
val `data`: Data,
@SerialName("message")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class ResponseGetMyDrawDetailDto(
data class ResponseGetMyDrawDetailDTO(
@SerialName("data")
val data: Data,
@SerialName("message")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class ResponseGetScrapDto(
data class ResponseGetScrapDTO(
@SerialName("data")
val data: Data,
@SerialName("message")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class ResponsePostCourseDto(
data class ResponsePostCourseDTO(
@SerialName("data")
val data: Data,
@SerialName("message")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class ResponsePostRecordDto(
data class ResponsePostRecordDTO(
@SerialName("data")
val data: Data,
@SerialName("message")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class ResponsePutMyDrawDto(
data class ResponsePutMyDrawDTO(
@SerialName("data")
val data: Data,
@SerialName("message")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
package com.runnect.runnect.data.dto.response

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

@Serializable
data class ResponseSearchTmapDTO(
@SerialName("searchPoiInfo")
val searchPoiInfo: SearchPoiInfo,
) {
@Serializable
data class SearchPoiInfo(
@SerialName("totalCount")
val totalCount: String,
@SerialName("count")
val count: String,
@SerialName("page")
val page: String,
@SerialName("pois")
val pois: Pois
) {
@Serializable
data class Pois(
@SerialName("poi")
val poi: List<Poi>
) {
@Serializable
data class Poi(
//POI 의 id
@SerialName("id")
val id: String? = null,

//POI 의 name
@SerialName("name")
val name: String? = null,

//POI 에 대한 전화번호
@SerialName("telNo")
val telNo: String? = null,

//시설물 입구 위도 좌표
@SerialName("frontLat")
val frontLat: Float = 0.0f,

//시설물 입구 경도 좌표
@SerialName("frontLon")
val frontLon: Float = 0.0f,

//중심점 위도 좌표
@SerialName("noorLat")
val noorLat: Float = 0.0f,

//중심점 경도 좌표
@SerialName("noorLon")
val noorLon: Float = 0.0f,

//표출 주소 대분류명
@SerialName("upperAddrName")
val upperAddrName: String? = null,

//표출 주소 중분류명
@SerialName("middleAddrName")
val middleAddrName: String? = null,

//표출 주소 소분류명
@SerialName("lowerAddrName")
val lowerAddrName: String? = null,

//표출 주소 세분류명
@SerialName("detailAddrName")
val detailAddrName: String? = null,

//본번
@SerialName("firstNo")
val firstNo: String? = null,

//부번
@SerialName("secondNo")
val secondNo: String? = null,

//도로명
@SerialName("roadName")
val roadName: String? = null,

//건물번호 1
@SerialName("firstBuildNo")
val firstBuildNo: String? = null,

//건물번호 2
@SerialName("secondBuildNo")
val secondBuildNo: String? = null,

//업종 대분류명
@SerialName("mlClass")
val mlClass: String? = null,

//거리(km)
@SerialName("radius")
val radius: String? = null,

//업소명
@SerialName("bizName")
val bizName: String? = null,

//시설목적
@SerialName("upperBizName")
val upperBizName: String? = null,

//시설분류
@SerialName("middleBizName")
val middleBizName: String? = null,

//시설이름 ex) 지하철역 병원 등
@SerialName("lowerBizName")
val lowerBizName: String? = null,

//상세 이름
@SerialName("detailBizName")
val detailBizName: String? = null,

//길안내 요청 유무
@SerialName("rpFlag")
val rpFlag: String? = null,

//주차 가능유무
@SerialName("parkFlag")
val parkFlag: String? = null,

//POI 상세정보 유무
@SerialName("detailInfoFlag")
val detailInfoFlag: String? = null,

//소개 정보
@SerialName("desc")
val desc: String? = null
)
}
}
}
115 changes: 0 additions & 115 deletions app/src/main/java/com/runnect/runnect/data/dto/tmap/Poi.kt

This file was deleted.

11 changes: 0 additions & 11 deletions app/src/main/java/com/runnect/runnect/data/dto/tmap/Pois.kt

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import javax.inject.Inject

class BannerRepositoryImpl @Inject constructor(private val remoteBannerDataSource: RemoteBannerDataSource) :
BannerRepository {

override suspend fun getBannerData(): Flow<MutableList<DiscoverPromotionItemDTO>> =
remoteBannerDataSource.getBannerFlow()
}
Loading

0 comments on commit b7135f5

Please sign in to comment.