package com.knecon.fforesight.service.layoutparser.processor.python_api.model.image;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

    private String dossierId;
    private String fileId;

    @JsonProperty(value = "imageMetadata")
    @JsonAlias("data")
    private List<ImageMetadata> data = new ArrayList<>();

    private List<ImageMetadata> dataCV = new ArrayList<>();


    @JsonProperty(value = "imageMetadata")
    @JsonAlias("data")
    public void setData(List<ImageMetadata> data) {this.data = data;}

}
