package com.wms_main.model.dto.request.mywms;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.wms_main.repository.utils.StringUtils;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
public class OrderInReq {

    @JsonProperty("taskId")
    private String taskId;

    @JsonProperty("vehicleNo")
    private String vehicleNo;

    public boolean isValid() {
        return !StringUtils.isEmpty(this.getTaskId())
                && !StringUtils.isEmpty(this.getVehicleNo());
    }
}
