package com.erp.waybill.dto;

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

/**
 * 运单作废请求
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WaybillVoidRequest {

    @NotNull(message = "运单ID不能为空")
    private Long waybillId;

    @NotBlank(message = "作废原因不能为空")
    private String reason;
}
