package net.lab1024.sa.admin.module.business.wms.base.area.service;

import java.util.*;


import net.lab1024.sa.admin.module.business.wms.base.area.domain.form.AreaAddForm;
import net.lab1024.sa.admin.module.business.wms.base.area.domain.form.AreaUpdateForm;
import net.lab1024.sa.base.common.domain.ResponseDTO;

/**
 * 库区信息 Service
 *
 * @author hj
 * @since 2025-03-11 11:12:36
 * copyright 友仓
 */


public interface AreaService {

    /**
     * 添加
     *
     * @param addForm 入参
     * @return ResponseDTO<String>
     */
    ResponseDTO<String> add(AreaAddForm addForm);

    /**
     * 更新
     *
     * @param updateForm 入参
     * @return ResponseDTO<String>
     */
    ResponseDTO<String> update(AreaUpdateForm updateForm);

    /**
     * 批量删除
     *
     * @param idList 入参
     * @return ResponseDTO<String>
     */
    ResponseDTO<String> batchDelete(List<Long> idList);

    /**
     * 单个删除
     *
     * @param areaId 入参
     * @return ResponseDTO<String>
     */
    ResponseDTO<String> delete(Long areaId);
}
