Skip to content

Commit 12f5380

Browse files
authored
Merge pull request #96 from billilge/refactor/#95
refactor: 관리자 대시보드 API 신청 시간을 대여시각으로 변경 완료
2 parents 3354566 + 3ae13c3 commit 12f5380

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/kotlin/site/billilge/api/backend/domain/rental/dto/response/DashboardResponse.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ data class DashboardResponse(
2828
val renterStudentId: String,
2929
@field:Schema(description = "대여 상태", example = "PENDING")
3030
val status: RentalStatus,
31-
@field:Schema(description = "신청일")
32-
val applicatedAt: LocalDateTime
31+
@field:Schema(description = "대여 시각")
32+
val rentAt: LocalDateTime?,
3333
) {
3434
companion object {
3535
@JvmStatic
@@ -42,7 +42,7 @@ data class DashboardResponse(
4242
renterName = rentalHistory.member.name,
4343
renterStudentId = rentalHistory.member.studentId,
4444
status = rentalHistory.rentalStatus,
45-
applicatedAt = rentalHistory.applicatedAt
45+
rentAt = rentalHistory.rentAt
4646
)
4747
}
4848
}

0 commit comments

Comments
 (0)