package com.usky.ai.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class RepositoryFacesResponseDTO {
    @JsonProperty("BoardId")
    private String boardId;

    @JsonProperty("BoardIp")
    private String boardIp;

    @JsonProperty("Event")
    private String event;

    @JsonProperty("Result")
    private Result result;

    @JsonProperty("data")
    private List<Face> data;

    @JsonProperty("total")
    private int total;

    @Data
    public static class Face {
        @JsonProperty("albumId")
        private String albumId;

        @JsonProperty("photoId")
        private int photoId;

        @JsonProperty("photoName")
        private String photoName;
    }

    @Data
    public static class Result {
        @JsonProperty("Code")
        private Integer code;

        @JsonProperty("Desc")
        private String desc;
    }
}