[#32] 지역 정보 추가 #33

Merged
pricelees merged 3 commits from refactor/#32 into main 2025-08-10 05:43:35 +00:00
2 changed files with 23 additions and 0 deletions
Showing only changes of commit 6eff50762c - Show all commits

View File

@ -0,0 +1,18 @@
package roomescape.region.infrastructure.persistence
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table
@Entity
@Table(name = "region")
class RegionEntity(
@Id
val code: String,
val sidoCode: String,
val sigunguCode: String,
val dongCode: String,
val sidoName: String,
val sigunguName: String,
val dongName: String,
)

View File

@ -0,0 +1,5 @@
package roomescape.region.infrastructure.persistence
import org.springframework.data.jpa.repository.JpaRepository
interface RegionRepository : JpaRepository<RegionEntity, String>