package com.github.microservice.auth.server.core.model;

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

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultsModel {
    private List<Result> results;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Result {
        private List<Double> embedding;
        private double faceConfidence;
        private FacialArea facialArea;

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class FacialArea {
            private int h;
            private int w;
            private int x;
            private int y;
            private List<Integer> leftEye;
            private List<Integer> rightEye;
        }
    }
}
