package llc.arma.fleet.monitor.data.repository

import llc.arma.fleet.monitor.data.entity.BeaconEntity
import llc.arma.fleet.monitor.data.entity.BeaconStatus
import org.springframework.data.jpa.repository.JpaRepository

interface BeaconRepository : JpaRepository<BeaconEntity, Long> {
    fun findByMacAddress(macAddress: String): BeaconEntity?
    fun findByStatus(status: BeaconStatus): List<BeaconEntity>
}
