TeamWarehouseServiceInterface.php 548 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?php
/**
 * (团队)仓库
 *
 * @author zhangdongying
 * @date   2023-09-19
 */
declare(strict_types=1);

namespace Meibuyu\Rpc\Service\Interfaces\Store;

interface TeamWarehouseServiceInterface
{
    /**
     * 通过仓库名称数组获取列表
     *
     * @param array $names 仓库名称数组
     * @param array $columns 列名数组
     * @param array $relations 关联数组
     * @return array 默认keyBy('name')
     */
    public function getListByNames(array $names, array $columns = ['*'], array $relations = []): array;
}