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

import com.bcxin.tenant.open.domains.criterias.RdSecurityStationRailCriteria;
import com.bcxin.tenant.open.domains.criterias.RdSecurityStationRailMessageCriteria;
import com.bcxin.tenant.open.domains.entities.RdSecurityStationRailEntity;
import com.bcxin.tenant.open.domains.entities.RdSecurityStationRailMessageEntity;
import com.bcxin.tenant.open.infrastructures.EntityCollection;
import com.bcxin.tenant.open.infrastructures.repositories.RepositoryBase;

import java.util.Collection;

public interface RdSecurityStationRailMessageRepository extends RepositoryBase<RdSecurityStationRailMessageEntity> {
    void insertAll(Collection<RdSecurityStationRailMessageEntity> messages);

    EntityCollection<RdSecurityStationRailMessageEntity> search(RdSecurityStationRailMessageCriteria criteria);
}
