2026-06-30 24681c81c09022f584a57006f2534b5f74723414
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
package cn.iocoder.yudao.module.trade.controller.admin.order.vo;
 
import cn.iocoder.yudao.framework.common.enums.TerminalEnum;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import cn.iocoder.yudao.framework.common.validation.InEnum;
import cn.iocoder.yudao.framework.common.validation.Mobile;
import cn.iocoder.yudao.module.trade.enums.order.TradeOrderStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDateTime;
import java.util.List;
 
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
 
@Schema(description = "管理后台 - 交易订单的分页 Request VO")
@Data
public class TradeOrderPageReqVO extends PageParam {
 
    @Schema(description = "订单号", example = "88888888")
    private String no;
 
    @Schema(description = "用户编号", example = "1024")
    private Long userId;
 
    @Schema(description = "用户昵称", example = "小王")
    private String userNickname;
 
    @Schema(description = "用户手机号", example = "小王")
    @Mobile
    private String userMobile;
 
    @Schema(description = "配送方式", example = "1")
    private Integer deliveryType;
 
    @Schema(description = "发货物流公司编号", example = "1")
    private Long logisticsId;
 
    @Schema(description = "自提门店编号", example = "[1,2]")
    private List<Long> pickUpStoreIds;
 
    @Schema(description = "自提核销码", example = "12345678")
    private String pickUpVerifyCode;
 
    @Schema(description = "订单类型", example = "1")
    private Integer type;
 
    @Schema(description = "订单状态", example = "1")
    @InEnum(value = TradeOrderStatusEnum.class, message = "订单状态必须是 {value}")
    private Integer status;
 
    @Schema(description = "支付渠道", example = "wx_lite")
    private String payChannelCode;
 
    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
 
    @Schema(description = "订单来源", example = "10")
    @InEnum(value = TerminalEnum.class, message = "订单来源 {value}")
    private Integer terminal;
 
}