package com.heyu.api.alibaba.request.mm.order;


import com.heyu.api.alibaba.request.mm.AdminBaseDTO;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class VVOrderRequest extends AdminBaseDTO {
    /**
     * 订单id
     */
    private List<Long> tradeOrderIds;

    private Integer pageNum = 1;

    private Integer pageSize = 10;

    //买家手机号
    private String buyerPhone;

    //买家名
    private String buyerName;

    //买家微信
    private String buyerWeixin;


    //总价
    private BigDecimal minPromotionPrice;

    //总价
    private BigDecimal maxPromotionPrice;

    /***
     * create:订单创建
     * wait_pay:待支付
     * wait_shipping:支付完成,待发货
     * shipping:已发货
     * shipped:已投递，比如入到快递柜
     * delivered:已妥投
     * apply_cancel: 买家申请取消订单
     * cancel:卖家同意取消
     * close:买家关闭订单
     * delete:删除
     * refund:已退款
     */
    private String status;

    // 结算状态
    private Integer settleStatus;

    //创建时间撮，最大
    private Long minCreateTimestamp;

    //创建时间撮 最小
    private Long maxCreateTimestamp;

    //商品名称 , 子单维度
    private String productName;

    // 商品id
    private Long productId;

    /***
     * 卖家id
     */
    private Long sellerId;

    /***
     * 卖家名称
     */
    private String sellerName;

    /***
     * 买家id
     */
    private Long buyerId;
    /***
     * 如果状态是refund ，则refundCount = 1
     */
    private Integer refundCount;

    /**
     *
     * 按创建时间排序 , ASC 升序  ,DESC 降序
     */
    private String createTimestampSort;

    /**
     *
     * 按修改时间排序 , ASC 升序  ,DESC 降序
     */
    private String modifyTimestampSort;






}


