package com.erp.waybill.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 批量申请运单请求
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BatchApplyRequest {

    @NotEmpty(message = "订单ID列表不能为空")
    private List<Long> orderIds;

    @NotBlank(message = "快递编码不能为空")
    private String expressCode;
}
