package com.rera.mss.repository

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

interface InverterMeasurementRepository: JpaRepository<InverterMeasurement, Long> {
    fun findAllByInverterAndReadingTypeName(inverter: Inverter, readingTypeName: String): List<InverterMeasurement>?
}