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

import com.fasterxml.jackson.annotation.JsonProperty;
import com.wms_main.model.bo.wms.GoodsInfoForTask;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * WMS入库请求
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockInRequest extends BaseWmsRequest {
    /**
     * 是否为空载具入库
     */
    @JsonProperty("emptyTask")
    private boolean emptyTask = false;
    /**
     * 载具号
     */
    @JsonProperty("vehicleId")
    private String vehicleId;
    /**
     * 入库点
     */
    @JsonProperty("origin")
    private String origin;
    /**
     * 物料信息
     */
    @JsonProperty("goodsInfo")
    private List<GoodsInfoForTask> goodsInfo;
}
