package net.lab1024.sa.admin.module.business.wms.receive.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class BatchReceiveForm {

    @Schema(description = "入库单", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "入库单 不能为空")
    private Long asnId;

    @Schema(description = "入库明细", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "入库明细 不能为空")
    private List<Long> asnDetailIds;

    @Schema(description = "容器", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "容器 不能为空")
    private String stockCode;

    @Schema(description = "库位", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "库位 不能为空")
    private String locationCode;


}
