AuthResponse.java
2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.sigem.gis.security;
public class AuthResponse {
private String token;
private String nombre;
private String message;
// Metadatos Cartográficos
private Double lat;
private Double lng;
private Integer zoom;
private Integer minZoom;
private Integer maxZoom;
private String mapaBase;
private String bounds;
private String entidadNombre;
private String eslogan;
private String entidadLogo;
private String responsable;
public AuthResponse(String token, String nombre, String message) {
this.token = token;
this.nombre = nombre;
this.message = message;
}
public AuthResponse(String token, String nombre, String message, Double lat, Double lng, Integer zoom, Integer minZoom, Integer maxZoom, String mapaBase, String bounds) {
this.token = token;
this.nombre = nombre;
this.message = message;
this.lat = lat;
this.lng = lng;
this.zoom = zoom;
this.minZoom = minZoom;
this.maxZoom = maxZoom;
this.mapaBase = mapaBase;
this.bounds = bounds;
}
public AuthResponse(String token, String nombre, String message, Double lat, Double lng, Integer zoom, Integer minZoom, Integer maxZoom, String mapaBase, String bounds, String entidadNombre, String eslogan, String entidadLogo, String responsable) {
this(token, nombre, message, lat, lng, zoom, minZoom, maxZoom, mapaBase, bounds);
this.entidadNombre = entidadNombre;
this.eslogan = eslogan;
this.entidadLogo = entidadLogo;
this.responsable = responsable;
}
// Getters y Setters
public String getToken() { return token; }
public String getNombre() { return nombre; }
public String getMessage() { return message; }
public Double getLat() { return lat; }
public Double getLng() { return lng; }
public Integer getZoom() { return zoom; }
public Integer getMinZoom() { return minZoom; }
public Integer getMaxZoom() { return maxZoom; }
public String getMapaBase() { return mapaBase; }
public String getBounds() { return bounds; }
public String getEntidadNombre() { return entidadNombre; }
public String getEslogan() { return eslogan; }
public String getEntidadLogo() { return entidadLogo; }
public String getResponsable() { return responsable; }
}