package com.bcxin.tenant.open.domains.repositories;

import com.bcxin.tenant.open.domains.dtos.DeviceBatchUpdateDTO;
import com.bcxin.tenant.open.domains.entities.RdDeviceEntity;
import com.bcxin.tenant.open.domains.entities.RdEmployeeEntity;
import com.bcxin.tenant.open.infrastructures.repositories.RepositoryBase;

import java.util.Collection;

public interface RdDeviceRepository extends RepositoryBase<RdDeviceEntity> {
    Collection<RdDeviceEntity> getByPage(Collection<String> ids, int pageIndex, int pageSize);

    Collection<RdDeviceEntity> getNoReadyDevices(Collection<String> ids);

    Collection<String> batchUpdate(DeviceBatchUpdateDTO data);
}
