Skip to content

Commit

Permalink
refactor: (#759) reason 필드 nullable로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
4mjeo committed Sep 22, 2024
1 parent a1215e8 commit 4ca7177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ open class OutingApplicationVO(
val studentGrade: Int,
val studentClassRoom: Int,
val studentNumber: Int,
val reason: String,
val reason: String?,
val outingType: String,
val outingDate: LocalDate,
val outingTime: LocalTime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class OutingApplicationPersistenceAdapter(
studentJpaEntity.grade,
studentJpaEntity.classRoom,
studentJpaEntity.number,
outingApplicationJpaEntity.reason.coalesce(""),
outingApplicationJpaEntity.reason.coalesce(""),
outingApplicationJpaEntity.reason,
outingApplicationJpaEntity.reason,
outingApplicationJpaEntity.outingDate,
outingApplicationJpaEntity.outingTime,
outingApplicationJpaEntity.arrivalTime,
Expand Down

0 comments on commit 4ca7177

Please sign in to comment.