Facebook
From Colossal Meerkat, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 271
  1. public class PkbSketchDTO {
  2.  
  3.     private List<MarkerDTO> buildings = new LinkedList<>();
  4.     private List<PathDTO> paths = new LinkedList<>();
  5.     private int id;
  6.     private double lat;
  7.     private double lon;
  8.     private String name;
  9.     private float zoom;
  10. }
  11.  
  12.  
  13. public class PointDTO {
  14.     int id;
  15.     double lat;
  16.     double lon;
  17.     MarkersTypeEnum type;
  18. }
  19.  
  20. public class PathDTO {
  21.     int id;
  22.     List<PointDTO> points = new LinkedList<>();
  23. }
  24.  
  25. public class MarkerDTO {
  26.  
  27.     int id;
  28.     double lat;
  29.     double lon;
  30.     List<PersonPOJO> persons = new LinkedList<>();
  31.     MarkersTypeEnum type;
  32. }
  33.  
  34. public class PersonPOJO {
  35.     String id;
  36.     String name;
  37.     String surname;
  38.     String militaryRank;
  39. }
  40.