package com.erp.logistics.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 轨迹同步请求
 */
@Data
@Schema(description = "轨迹同步请求")
public class TraceSyncRequest {

    @NotBlank(message = "运单号不能为空")
    @Schema(description = "运单号")
    private String waybillNo;

    @Schema(description = "物流商编码（可选，自动识别）")
    private String carrier;

    @Schema(description = "是否强制同步（跳过缓存）")
    private Boolean forceSync = false;
}
