package com.erp.logistics.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 运单状态查询请求
 */
@Data
@Schema(description = "运单状态查询请求")
public class WaybillStatusQueryRequest {

    @Schema(description = "运单号")
    private String waybillNo;

    @Schema(description = "物流商编码：SF, YTO, ZTO, YUNDA")
    private String carrier;

    @Schema(description = "运单状态")
    private String status;

    @Schema(description = "订单ID")
    private Long orderId;

    @Schema(description = "页码", defaultValue = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页条数", defaultValue = "20")
    private Integer pageSize = 20;
}
