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

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

@Data
public class StockReqGoodsDetail {
    @JsonProperty("vehicleNo")
    private String vehicleNo;

    @JsonProperty("locationId")
    private String locationId;

    public boolean empty() {
        return StringUtils.isEmpty(vehicleNo)
                && StringUtils.isEmpty(locationId);
    }
}
