-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat-visit-completed-view
# Conflicts: # app/src/main/java/org/sopt/tabling/presentation/common/ViewModelFactory.kt # app/src/main/res/drawable/shape_gray_100_line_99_rect.xml # app/src/main/res/values/strings.xml
- Loading branch information
Showing
51 changed files
with
2,157 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.sopt.tabling.domain.model | ||
|
||
data class Menu( | ||
val menuCategory: String, | ||
val menuInfoList: List<MenuInfo> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.sopt.tabling.domain.model | ||
|
||
data class MenuInfo( | ||
val menuId: Long, | ||
val menuPhotoUrl: String, | ||
val menuName: String, | ||
val price: Int | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.sopt.tabling.domain.model | ||
|
||
data class Review( | ||
val reviewId: Long, | ||
val star: Float, | ||
val reviewerName: String, | ||
val dayBefore: Int, | ||
val reviewContent: String | ||
) |
21 changes: 21 additions & 0 deletions
21
app/src/main/java/org/sopt/tabling/domain/model/ShopDetail.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.sopt.tabling.domain.model | ||
|
||
data class ShopDetail( | ||
val shopId: Long, | ||
val detailPhotoList: List<String>, | ||
val name: String, | ||
val longAddress: String, | ||
val currentWaiting: Int, | ||
val salesTime: String, | ||
val waitingTime: String, | ||
val restTime: String, | ||
val restDay: String, | ||
val phoneNumber: String, | ||
val hashTagList: List<String>, | ||
val introduceContent: String, | ||
val menuList: List<Menu>, | ||
val averageStar: Float, | ||
val reviewCount: Int, | ||
val detailStarList: List<Float>, | ||
val reviewList: List<Review> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
app/src/main/java/org/sopt/tabling/presentation/dummy/DummyViewModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +0,0 @@ | ||
package org.sopt.tabling.presentation.dummy | ||
|
||
import androidx.lifecycle.ViewModel | ||
import org.sopt.tabling.data.repository.DummyRepositoryImpl | ||
|
||
class DummyViewModel( | ||
private val dummyRepositoryImpl: DummyRepositoryImpl, | ||
) : ViewModel() { | ||
// TODO 서버통신 관련 로직 작성 | ||
} | ||
Oops, something went wrong.