package com.seer.teach.mall.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "订单查询条件实体类")
public class OrderQueryCondition {

    @Schema(description = "订单状态 0-待付款/待审核，1-已付款，2-已发货，3-已完成，4-已取消,5-待评价，50：已确认，60：已驳回,70:仓库已发货")
    private Integer orderStatus;

    @Schema(description = "订单状态列表")
    private List<Integer> orderStatusList;

    @Schema(description = "租户id")
    private String tenantId;

    @Schema(description = "订单编号（唯一）")
    private String orderSn;

    private Integer userId;

    private Integer deliveryUserId;

    @Schema(description = "物流状态（0-未发货，1-已发货，2-已签收）")
    private Integer shippingStatus;

    @Schema(description = "支付状态（0-未支付，1-已支付，2-支付失败）")
    private Integer payStatus;

    @Schema(description = "收货人姓名")
    private String consignee;

    @Schema(description = "省份")
    private String province;

    private String city;

    @Schema(description = "区/县")
    private String district;

    @Schema(description = "联系电话")
    private String mobile;

    @Schema(description = "子订单状态")
    private Integer childOrderStatus;
}