package com.sckw.transport.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

/**
 * @author zk
 * @desc 车辆运单审核
 * @date 2023/7/27 0027
 */
@Data
public class WaybillOrderTicketApprovalV2Dto {
    /**
     * 车辆运单id
     */
    @JsonProperty("wOrderId")
    @NotNull(message = "车辆运单ID不能为空")
    private Long wOrderId;

    @JsonProperty("tickets")
    private @Valid List<WaybillOrderTicketV4Dto> tickets;
}
