2026-06-26 20b96473f2520590a0dca6b775b81e3ea06a77a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
package cn.iocoder.yudao.module.trade.controller.app.order.vo;
 
import cn.iocoder.yudao.module.trade.controller.app.order.vo.item.AppTradeOrderItemRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(description = "用户 App - 订单交易的明细 Response VO")
@Data
public class AppTradeOrderDetailRespVO {
 
    // ========== 订单基本信息 ==========
 
    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "订单流水号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1146347329394184195")
    private String no;
 
    @Schema(description = "订单类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer type;
 
    @Schema(description = "下单时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;
 
    @Schema(description = "用户备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    private String userRemark;
 
    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;
 
    @Schema(description = "购买的商品数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Integer productCount;
 
    @Schema(description = "订单完成时间")
    private LocalDateTime finishTime;
 
    @Schema(description = "订单取消时间")
    private LocalDateTime cancelTime;
 
    @Schema(description = "是否评价", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean commentStatus;
 
    // ========== 价格 + 支付基本信息 ==========
 
    @Schema(description = "是否已支付", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean payStatus;
 
    @Schema(description = "支付订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long payOrderId;
 
    @Schema(description = "付款时间")
    private LocalDateTime payTime;
 
    @Schema(description = "付款超时时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime payExpireTime;
 
    @Schema(description = "支付渠道", example = "wx_lite_pay")
    private String payChannelCode;
    @Schema(description = "支付渠道名", example = "微信小程序支付")
    private String payChannelName;
 
    @Schema(description = "商品原价(总)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000")
    private Integer totalPrice;
 
    @Schema(description = "订单优惠(总)", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    private Integer discountPrice;
 
    @Schema(description = "运费金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    private Integer deliveryPrice;
 
    @Schema(description = "订单调价(总)", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    private Integer adjustPrice;
 
    @Schema(description = "应付金额(总)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000")
    private Integer payPrice;
 
    // ========== 收件 + 物流基本信息 ==========
 
    @Schema(description = "配送方式", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer deliveryType;
 
    @Schema(description = "发货物流公司编号", example = "10")
    private Long logisticsId;
 
    @Schema(description = "发货物流名称", example = "顺丰快递")
    private String logisticsName;
 
    @Schema(description = "发货物流单号", example = "1024")
    private String logisticsNo;
 
    @Schema(description = "发货时间")
    private LocalDateTime deliveryTime;
 
    @Schema(description = "收货时间")
    private LocalDateTime receiveTime;
 
    @Schema(description = "收件人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    private String receiverName;
 
    @Schema(description = "收件人手机", requiredMode = Schema.RequiredMode.REQUIRED, example = "13800138000")
    private String receiverMobile;
 
    @Schema(description = "收件人地区编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "110000")
    private Integer receiverAreaId;
 
    @Schema(description = "收件人地区名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "上海 上海市 普陀区")
    private String receiverAreaName;
 
    @Schema(description = "收件人详细地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "中关村大街 1 号")
    private String receiverDetailAddress;
 
    @Schema(description = "自提门店编号", example = "1088")
    private Long pickUpStoreId;
 
    @Schema(description = "自提核销码", example = "40964096")
    private String pickUpVerifyCode;
 
    // ========== 售后基本信息 ==========
 
    @Schema(description = "售后状态", example = "0")
    private Integer refundStatus;
 
    @Schema(description = "退款金额,单位:分", example = "100")
    private Integer refundPrice;
 
    // ========== 营销基本信息 ==========
 
    @Schema(description = "优惠劵编号", example = "1024")
    private Long couponId;
 
    @Schema(description = "优惠劵减免金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    private Integer couponPrice;
 
    @Schema(description = "积分抵扣的金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    private Integer pointPrice;
 
    @Schema(description = "VIP 减免金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "888")
    private Integer vipPrice;
 
    @Schema(description = "拼团记录编号", example = "100")
    private Long combinationRecordId;
 
    /**
     * 订单项数组
     */
    private List<AppTradeOrderItemRespVO> items;
 
}