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; + +}