package com.sckw.car.entity.req;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

/**
 * @desc:
 * @author: Lt
 * @date: 2024-04-22
 */
@Data
public class KwOrderCarCompleteParam {

    /* 订单id */
    private Long orderId;

    /* 备注 */
    private String remark;

    /* 路径信息 */
    @NotEmpty(message = "路径必选")
    @Size(min = 1, message = "路径任务至少有一个")
    @Valid
    private List<KwOrderCompletePathDto> path;

}
