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;

import java.util.List;
@Getter
@Setter
public class StockReq {
    @JsonProperty("requestId")
    private String requestId;

    @JsonProperty("details")
    private List<StockReqGoodsDetail> details;

    public boolean empty() {
        return StringUtils.isEmpty(requestId);
    }
}
