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

import com.bcxin.tenant.open.domains.dtos.SecurityStationCountDTO;
import com.bcxin.tenant.open.domains.entities.RdSecurityStationEntity;
import com.bcxin.tenant.open.domains.entities.RdSecurityStationPersonEntity;
import com.bcxin.tenant.open.infrastructures.repositories.RepositoryBase;

import java.util.Collection;

public interface RdSecurityStationPersonRepository extends RepositoryBase<RdSecurityStationPersonEntity> {
    Collection<SecurityStationCountDTO> getCountOfPersonByStationIds(Collection<String> stationIds);

    void refreshEmployeeStationByEmployeeIds(Collection<String> employeeIds);

    RdSecurityStationPersonEntity getByNoPkId(String id);
}
