package com.r11.tools.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.UUID;

/**
 * Represents all data needed to get HistoryRecord from database
 * @author Mikołaj Widła
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class HistoryRequestModel {

    private UUID clientUUID;
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private LocalDateTime localDateTimeFrom;
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private LocalDateTime localDateTimeTo;
    private Integer mockedResponseId;

}
