package com.rera.mss.repository

import com.rera.mss.model.Instrument
import com.rera.mss.model.InstrumentMeasurement
import org.springframework.data.jpa.repository.JpaRepository

interface InstrumentMeasurementRepository: JpaRepository<InstrumentMeasurement, Long> {
    fun findAllByInstrumentAndReadingTypeName(instrument: Instrument, readingTypeName: String): List<InstrumentMeasurement>?
}