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

import com.bcxin.tenant.open.domains.dtos.RdSyncEventWrapperDTO;
import com.bcxin.tenant.open.domains.entities.RdSyncEventEntity;
import com.bcxin.tenant.open.infrastructures.repositories.RepositoryBase;

import java.util.Collection;

public interface RdSyncEventRepository extends RepositoryBase<RdSyncEventEntity> {
    Collection<RdSyncEventEntity> getAllPending(int pageSize);

    void process(RdSyncEventWrapperDTO eventWrapperDTO);
}
