package io.github.js0ny.ilp_coursework.data.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.github.js0ny.ilp_coursework.data.common.LngLat;

import java.time.LocalDate;
import java.time.LocalTime;

@JsonIgnoreProperties(ignoreUnknown = true)
public record MedDispatchRecRequest(
        int id, LocalDate date, LocalTime time, MedRequirement requirements, LngLat delivery) {
    @JsonIgnoreProperties(ignoreUnknown = true)
    public record MedRequirement(float capacity, boolean cooling, boolean heating, float maxCost) {}
}
