From 6d829e2b5c86a86384cf4c40b305ed49d89910f9 Mon Sep 17 00:00:00 2001 From: dengwc Date: Tue, 6 Feb 2024 15:21:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=8C=E6=AD=A5=E5=90=8C?= =?UTF-8?q?=E7=A8=8B=E8=AE=A2=E5=8D=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rest/ly/vo/estimateprice/HotelInfo.java | 11 +++++++++++ .../rest/ly/vo/estimateprice/HotelListVo.java | 16 ---------------- .../rest/ly/vo/estimateprice/PriceInfo.java | 13 +++++++++++++ 3 files changed, 24 insertions(+), 16 deletions(-) create mode 100644 src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/HotelInfo.java create mode 100644 src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/PriceInfo.java diff --git a/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/HotelInfo.java b/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/HotelInfo.java new file mode 100644 index 00000000..009126cc --- /dev/null +++ b/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/HotelInfo.java @@ -0,0 +1,11 @@ +package com.chint.interfaces.rest.ly.vo.estimateprice; + +import lombok.Data; + +import java.util.List; + +@Data +public class HotelInfo { + private String hotelId; + private List priceList; +} diff --git a/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/HotelListVo.java b/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/HotelListVo.java index 2263e850..9c88023e 100644 --- a/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/HotelListVo.java +++ b/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/HotelListVo.java @@ -9,20 +9,4 @@ import java.util.List; public class HotelListVo { private List hotelList; - - @Data - public static class HotelInfo { - private String hotelId; - private List priceList; - - // 构造函数、getter和setter方法 - @Data - public static class PriceInfo { - private LocalDateTime saleDate; - private int paymentType; - private double price; - - // 构造函数、getter和setter方法 - } - } } diff --git a/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/PriceInfo.java b/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/PriceInfo.java new file mode 100644 index 00000000..d13f39fa --- /dev/null +++ b/src/main/java/com/chint/interfaces/rest/ly/vo/estimateprice/PriceInfo.java @@ -0,0 +1,13 @@ +package com.chint.interfaces.rest.ly.vo.estimateprice; + +import lombok.Data; + +import java.time.LocalDateTime; + +@Data +public class PriceInfo { + private LocalDateTime saleDate; + private int paymentType; + private double price; + +}