package com.developx.szpitale.model;

import com.developx.szpitale.model.enums.MandateType;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public record Mandate(
        @JsonProperty("personId") String personId,
        @JsonProperty("mandateType") MandateType mandateType,
        @JsonProperty("body") String body,
        @JsonProperty("term") String term,
        @JsonProperty("voivodeship") String voivodeship,
        @JsonProperty("sourceUrls") List<String> sourceUrls
) {
}
