package com.rera.mss.payload

import com.fasterxml.jackson.annotation.JsonInclude

@JsonInclude(JsonInclude.Include.NON_NULL)
data class MeasurementPickerDto (
        val withInverter: Set<InverterConnectedInstrumentsDto>?,
        val withoutInverter: Set<MeasurementInstrumentDto>?
)

data class InverterConnectedInstrumentsDto(
        val inverterId: Long,
        val instruments: Set<MeasurementInstrumentDto>
)

data class MeasurementInstrumentDto(
        val id: Long,
        val monitoredAreas: Set<MeasurementMonitoredAreaDto>
)

data class MeasurementMonitoredAreaDto(
        val id: Long,
        val description: String
)

data class PickedMeasurementsDto (
       val pickedInverterId: Long?,
       val pickedInstrumentIds: Set<Long>?
)