package com.usky.ai.dto; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import java.util.List; @Data public class FaceRecognitionResponseDTO { @JsonProperty("Result") private Result result; @JsonProperty("album1vnList") private List album1vnList; @JsonProperty("totalCount") private int totalCount; @Data public static class Result { @JsonProperty("Code") private Integer code; @JsonProperty("Desc") private String desc; } @Data public static class Album1vn { @JsonProperty("Height") private int height; @JsonProperty("Width") private int width; @JsonProperty("X") private int x; @JsonProperty("Y") private int y; @JsonProperty("albumId") private int albumId; @JsonProperty("photoId") private int photoId; @JsonProperty("score") private double score; } }