This commit is contained in:
Cauchy
2023-10-20 16:31:04 +08:00
parent e4bd2854a3
commit 0633287662
8 changed files with 107 additions and 6 deletions

View File

@@ -33,4 +33,8 @@ public class ModifyOrderAddressRequestVo {
* 收货人电话
*/
private String consigneeMobile;
/**
* 详细地址
*/
private String address;
}

View File

@@ -37,6 +37,18 @@ public class BuyOrderResponseVo {
* 订单金额
*/
private BigDecimal orderPrice;
/**
* 实际金额
*/
private BigDecimal realPrice;
/**
* 扣减金额
*/
private BigDecimal districtPrice;
/**
* 运费
*/
private BigDecimal shippingPrice;
/**
* 商品列表
*/
@@ -45,4 +57,12 @@ public class BuyOrderResponseVo {
* 收货人信息
*/
private ConsigneeVo consignee;
/**
* 优惠券
*/
private CouponResponseVo coupon;
/**
* 用户信息
*/
private UserResponseVo userInfo;
}

View File

@@ -0,0 +1,12 @@
package com.peanut.modules.book.vo.response;
import lombok.Data;
/**
* @Description: 优惠券 Value Object
* @Author: Cauchy
* @CreateTime: 2023/10/20
*/
@Data
public class CouponResponseVo {
}

View File

@@ -0,0 +1,20 @@
package com.peanut.modules.book.vo.response;
import lombok.Data;
/**
* @Description: 用户 Value Object
* @Author: Cauchy
* @CreateTime: 2023/10/20
*/
@Data
public class UserResponseVo {
/**
* 用户姓名
*/
private String userName;
/**
* 用户电话
*/
private String userPhone;
}