package med.voll.api.domain.dto;
import com.fasterxml.jackson.annotation.JsonFormat; import jakarta.validation.constraints.Future; import jakarta.validation.constraints.NotNull;
import java.time.LocalDateTime;
public record DadosAgendamentoConsultaDTO(
Long idMedico,
@NotNull
Long idPaciente,
@NotNull
@Future
@JsonFormat(pattern = "dd/MM/yyyy HH:mm")
LocalDateTime data) {
}