FaceRecognitionResponseDTO.java 996 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.usky.ai.dto;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import lombok.Data;
  4. import java.util.List;
  5. @Data
  6. public class FaceRecognitionResponseDTO {
  7. @JsonProperty("Result")
  8. private Result result;
  9. @JsonProperty("album1vnList")
  10. private List<Album1vn> album1vnList;
  11. @JsonProperty("totalCount")
  12. private int totalCount;
  13. @Data
  14. public static class Result {
  15. @JsonProperty("Code")
  16. private Integer code;
  17. @JsonProperty("Desc")
  18. private String desc;
  19. }
  20. @Data
  21. public static class Album1vn {
  22. @JsonProperty("Height")
  23. private int height;
  24. @JsonProperty("Width")
  25. private int width;
  26. @JsonProperty("X")
  27. private int x;
  28. @JsonProperty("Y")
  29. private int y;
  30. @JsonProperty("albumId")
  31. private int albumId;
  32. @JsonProperty("photoId")
  33. private int photoId;
  34. @JsonProperty("score")
  35. private double score;
  36. }
  37. }