generated from pricelees/issue-pr-template
[#44] 매장 기능 도입 #45
@ -30,11 +30,3 @@ fun StoreEntity.toInfoResponse() = StoreInfoResponse(
|
|||||||
contact = this.contact,
|
contact = this.contact,
|
||||||
businessRegNum = this.businessRegNum
|
businessRegNum = this.businessRegNum
|
||||||
)
|
)
|
||||||
|
|
||||||
data class StoreInfoListResponse(
|
|
||||||
val stores: List<StoreInfoResponse>
|
|
||||||
)
|
|
||||||
|
|
||||||
fun List<StoreEntity>.toInfoListResponse() = StoreInfoListResponse(
|
|
||||||
stores = this.map { it.toInfoResponse() }
|
|
||||||
)
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user