package net.lab1024.sa.admin.module.business.wms.base.location.domain.form;

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

import java.util.List;

@Data
public class MultipleInsert {
    @Schema(description = "库位编码集合", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "库位 不能为空")
    List<String> locationCodes;

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

    @Schema(description = "库位类型")
    @NotBlank(message = "库位类型 不能为空 ")
    private String locationType;
}