package cz.senslog.analytics.domain;

public record ThresholdRule(ThresholdMode thresholdMode, double value) {

    public static ThresholdRule of(ThresholdMode thresholdMode, double value) {
        return new ThresholdRule(thresholdMode, value);
    }
}
