package com.ruoyi.bst.order.domain;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class OrderQuery extends OrderVO  {

    @ApiModelProperty("id列表")
    private List<Long> ids;
    
    @ApiModelProperty("精准订单编号")
    private String eqNo;

    @ApiModelProperty("订单状态列表")
    private List<String> statusList;

    @ApiModelProperty("创建日期范围")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private List<LocalDate> createDateRange;

    @ApiModelProperty("最大可用时间（起始）")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime maxTimeStart;

    @ApiModelProperty("最大可用时间（结束）")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime maxTimeEnd;

    @ApiModelProperty("创建日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createDate;

    @ApiModelProperty("分成用户ID")
    private Long bonusUserId;

    @ApiModelProperty("支付日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate payDate;

    @ApiModelProperty("支付渠道ID")
    private Long payChannelId;

    @ApiModelProperty("支付超时时间（结束）")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime payExpireTimeEnd;

    @ApiModelProperty("支付超时时间（开始）")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime payExpireTimeStart;

    @ApiModelProperty("结束日期范围")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private List<LocalDate> endDateRange;

    @ApiModelProperty("是否为空支付类型")
    private Boolean isNullPayType;

    @ApiModelProperty("骑行费支付日期范围")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private List<LocalDate> ridePayDateRange;

    @ApiModelProperty("VIP ID 为空")
    private Boolean isNullVipUserId;
}   

