Skip to content

Commit

Permalink
fix(JoinDate) : 가입일자 없어도 조회 가능
Browse files Browse the repository at this point in the history
  • Loading branch information
Due-IT committed Nov 29, 2024
1 parent de35d30 commit d742a09
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package com.wap.wabi.band.payload.response

import com.wap.wabi.band.entity.BandStudent
import java.time.LocalDate

data class BandStudentData(
val studentId: String,
val name: String,
val club: String,
val position: String,
val joinDate: LocalDate,
val joinDate: String,
val college: String,
val major: String,
val tel: String,
Expand All @@ -27,7 +26,7 @@ data class BandStudentData(
name = bandStudent.student.name,
club = bandStudent.club,
position = bandStudent.position,
joinDate = bandStudent.joinDate,
joinDate = bandStudent.joinDate?.toString() ?: "",
college = bandStudent.college,
major = bandStudent.college,
tel = bandStudent.tel,
Expand Down

0 comments on commit d742a09

Please sign in to comment.