From 3821d37c4f22cec46f2fdfdb7b37f005d50c0d35 Mon Sep 17 00:00:00 2001 From: hershyYJ Date: Wed, 27 Nov 2024 00:26:47 +0900 Subject: [PATCH] [feaure/#74] Add shippingCompany and trackingNumber fields to DTO --- .../api/jaebichuri/shipping/dto/ShippingDetailsDto.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/api/jaebichuri/shipping/dto/ShippingDetailsDto.java b/src/main/java/com/api/jaebichuri/shipping/dto/ShippingDetailsDto.java index c3a0e36..09b64d0 100644 --- a/src/main/java/com/api/jaebichuri/shipping/dto/ShippingDetailsDto.java +++ b/src/main/java/com/api/jaebichuri/shipping/dto/ShippingDetailsDto.java @@ -9,7 +9,7 @@ @Getter @Setter @Schema(description = "배송 중인 물품 조회에 대한 정보 DTO") -public class shippingDetailsDto { +public class ShippingDetailsDto { @Schema(description = "배송 식별자 ID", example = "1") private Long shippingId; @@ -26,6 +26,12 @@ public class shippingDetailsDto { @Schema(description = "배송 상태", example = "SHIPPING") private ShippingStatus shippingStatus; + @Schema(description = "택배사", example = "우체국 택배") + private String shippingCompany; + + @Schema(description = "송장 번호", example = "12356515") + private String trackingNumber; + @Schema(description = "최종 낙찰가", example = "50000") private Long finalBidPrice;