From 4f6f15b818704079ff2e4e4719b798f48d68a335 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期五, 11 九月 2026 13:52:19 +0800
Subject: [PATCH] update
---
backend/src/main/java/com/tourguide/modules/user/dto/GuideReceivingOptionResponse.java | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/backend/src/main/java/com/tourguide/modules/user/dto/GuideReceivingOptionResponse.java b/backend/src/main/java/com/tourguide/modules/user/dto/GuideReceivingOptionResponse.java
index 28fe257..38fd9bb 100644
--- a/backend/src/main/java/com/tourguide/modules/user/dto/GuideReceivingOptionResponse.java
+++ b/backend/src/main/java/com/tourguide/modules/user/dto/GuideReceivingOptionResponse.java
@@ -55,15 +55,21 @@
private final Integer durationMinutes;
private final Integer minParticipants;
private final Integer maxParticipants;
+ private final BigDecimal originalPrice;
+ private final BigDecimal discountPrice;
public ServiceOption(Long id, String serviceType, Integer durationMinutes,
- Integer minParticipants, Integer maxParticipants) {
+ Integer minParticipants, Integer maxParticipants,
+ BigDecimal originalPrice, BigDecimal discountPrice) {
this.id = id; this.serviceType = serviceType; this.durationMinutes = durationMinutes;
this.minParticipants = minParticipants; this.maxParticipants = maxParticipants;
+ this.originalPrice = originalPrice; this.discountPrice = discountPrice;
}
public Long getId() { return id; }
public String getServiceType() { return serviceType; }
public Integer getDurationMinutes() { return durationMinutes; }
public Integer getMinParticipants() { return minParticipants; }
public Integer getMaxParticipants() { return maxParticipants; }
+ public BigDecimal getOriginalPrice() { return originalPrice; }
+ public BigDecimal getDiscountPrice() { return discountPrice; }
}
}
--
Gitblit v1.7.1