package com.developx.szpitale.model;

import com.developx.szpitale.model.enums.OrganType;
import com.developx.szpitale.model.enums.RoleStatus;
import com.developx.szpitale.model.enums.RoleType;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.time.LocalDate;
import java.util.List;

public record Role(
        @JsonProperty("hospitalId") String hospitalId,
        @JsonProperty("personId") String personId,
        @JsonProperty("roleType") RoleType roleType,
        @JsonProperty("roleLabel") String roleLabel,
        @JsonProperty("organ") OrganType organ,
        @JsonProperty("status") RoleStatus status,
        @JsonProperty("validFrom") LocalDate validFrom,
        @JsonProperty("validTo") LocalDate validTo,
        @JsonProperty("note") String note,
        @JsonProperty("sourceUrls") List<String> sourceUrls
) {


}
