File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/kotlin/site/billilge/api/backend/domain/rental/dto/response Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ data class DashboardResponse(
1919 val itemName : String ,
2020 @field:Schema(description = "물품 아이콘 URL ", example = "https://www.example.com/test.svg")
2121 val itemImageUrl : String ,
22+ @field:Schema(description = "물품 개수", example = "10")
23+ val rentedCount : Int ,
2224 @field:Schema(description = "대여자 이름", example = "황수민")
2325 val renterName : String ,
2426 @field:Schema(description = "대여자 학번", example = "20211234")
@@ -35,6 +37,7 @@ data class DashboardResponse(
3537 rentalHistoryId = rentalHistory.id!! ,
3638 itemName = rentalHistory.item.name,
3739 itemImageUrl = rentalHistory.item.imageUrl,
40+ rentedCount = rentalHistory.rentedCount,
3841 renterName = rentalHistory.member.name,
3942 renterStudentId = rentalHistory.member.studentId,
4043 status = rentalHistory.rentalStatus,
You can’t perform that action at this time.
0 commit comments