Skip to content

Commit

Permalink
Merge pull request #112 from mash-up-kr/fix/#102-delete-course-entity
Browse files Browse the repository at this point in the history
fix: refactor entity
  • Loading branch information
KimDoubleB authored Jul 27, 2024
2 parents bb5f701 + 4c3615e commit eb95181
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 43 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package com.piikii.output.persistence.postgresql.adapter

import com.piikii.application.port.output.persistence.CourseQueryPort
import com.piikii.output.persistence.postgresql.persistence.repository.CourseRepository
import org.springframework.stereotype.Repository
import java.util.UUID

@Repository
class CourseAdapter(
private val courseRepository: CourseRepository,
) : CourseQueryPort {
class CourseAdapter() : CourseQueryPort {
override fun isCourseExist(roomUid: UUID): Boolean {
return courseRepository.existsByroomUid(roomUid)
// TODO: implement
return false
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class PlaceEntity(
var origin: Origin,
@Column(name = "memo", length = 150)
var memo: String?,
@Column(name = "confirmed", nullable = false)
var confirmed: Boolean = false,
) : BaseEntity() {
constructor(roomUid: UUID, scheduleId: Long, place: Place) : this(
roomUid = roomUid,
Expand Down

This file was deleted.

0 comments on commit eb95181

Please sign in to comment.