Skip to content

Commit

Permalink
#6 feat/홈 : 도메인 엔티티에 홈 화면 리뷰에 필요한 값 추가
Browse files Browse the repository at this point in the history
- BuildingType, Review 수정
  • Loading branch information
HayleyKim0716 committed Aug 3, 2022
1 parent d1901eb commit 78ec3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions domain/src/main/java/com/ftw/domain/entity/BuildingType.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ftw.domain.entity

enum class BuildingType {
APARTMENT,
OFFICETEL
enum class BuildingType(val value: String) {
APARTMENT("아파트"),
OFFICETEL("오피스텔")
}
1 change: 1 addition & 0 deletions domain/src/main/java/com/ftw/domain/entity/Review.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ data class Review(
val buildingType: BuildingType,
val address: String,
val rating: Int,
val summary: String,
val officeLocation: String,
val advantage: String,
val disadvantage: String,
Expand Down

0 comments on commit 78ec3be

Please sign in to comment.