Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------com.example.Obj.java-----------------------------------
- package com.example;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class Obj {
- @SerializedName("Usuario")
- @Expose
- private Usuario usuario;
- @SerializedName("Solicitante")
- @Expose
- private Solicitante solicitante;
- public Usuario getUsuario() {
- return usuario;
- }
- public void setUsuario(Usuario usuario) {
- this.usuario = usuario;
- }
- public Solicitante getSolicitante() {
- return solicitante;
- }
- public void setSolicitante(Solicitante solicitante) {
- this.solicitante = solicitante;
- }
- }
- -----------------------------------com.example.Respuesta.java-----------------------------------
- package com.example;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class Respuesta {
- @SerializedName("code")
- @Expose
- private Integer code;
- @SerializedName("msg")
- @Expose
- private String msg;
- @SerializedName("obj")
- @Expose
- private Obj obj;
- public Integer getCode() {
- return code;
- }
- public void setCode(Integer code) {
- this.code = code;
- }
- public String getMsg() {
- return msg;
- }
- public void setMsg(String msg) {
- this.msg = msg;
- }
- public Obj getObj() {
- return obj;
- }
- public void setObj(Obj obj) {
- this.obj = obj;
- }
- }
- -----------------------------------com.example.Solicitante.java-----------------------------------
- package com.example;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class Solicitante {
- @SerializedName("id_Solictante_Servicio")
- @Expose
- private Integer idSolictanteServicio;
- @SerializedName("fk_Id_Solicitud_Servicio")
- @Expose
- private Integer fkIdSolicitudServicio;
- @SerializedName("nombres")
- @Expose
- private String nombres;
- @SerializedName("app_Paterno")
- @Expose
- private String appPaterno;
- @SerializedName("app_Materno")
- @Expose
- private String appMaterno;
- @SerializedName("sexo")
- @Expose
- private String sexo;
- @SerializedName("telefono_Fijo_1")
- @Expose
- private String telefonoFijo1;
- @SerializedName("telefono_Fijo_2")
- @Expose
- private String telefonoFijo2;
- @SerializedName("telefono_Celular")
- @Expose
- private String telefonoCelular;
- @SerializedName("email")
- @Expose
- private String email;
- @SerializedName("es_Persona_Moral")
- @Expose
- private Integer esPersonaMoral;
- @SerializedName("clave_Edo")
- @Expose
- private String claveEdo;
- @SerializedName("clave_Mun")
- @Expose
- private String claveMun;
- @SerializedName("fk_Id_Colonia_Text")
- @Expose
- private Integer fkIdColoniaText;
- @SerializedName("fk_Id_Calle_Text")
- @Expose
- private Integer fkIdCalleText;
- @SerializedName("cp")
- @Expose
- private String cp;
- @SerializedName("complemento_Direccion")
- @Expose
- private String complementoDireccion;
- @SerializedName("fecha_Captura")
- @Expose
- private String fechaCaptura;
- @SerializedName("fk_Id_Usuario")
- @Expose
- private Integer fkIdUsuario;
- @SerializedName("genero")
- @Expose
- private String genero;
- @SerializedName("curp")
- @Expose
- private String curp;
- @SerializedName("fk_Id_Usuario_App")
- @Expose
- private Integer fkIdUsuarioApp;
- public Integer getIdSolictanteServicio() {
- return idSolictanteServicio;
- }
- public void setIdSolictanteServicio(Integer idSolictanteServicio) {
- this.idSolictanteServicio = idSolictanteServicio;
- }
- public Integer getFkIdSolicitudServicio() {
- return fkIdSolicitudServicio;
- }
- public void setFkIdSolicitudServicio(Integer fkIdSolicitudServicio) {
- this.fkIdSolicitudServicio = fkIdSolicitudServicio;
- }
- public String getNombres() {
- return nombres;
- }
- public void setNombres(String nombres) {
- this.nombres = nombres;
- }
- public String getAppPaterno() {
- return appPaterno;
- }
- public void setAppPaterno(String appPaterno) {
- this.appPaterno = appPaterno;
- }
- public String getAppMaterno() {
- return appMaterno;
- }
- public void setAppMaterno(String appMaterno) {
- this.appMaterno = appMaterno;
- }
- public String getSexo() {
- return sexo;
- }
- public void setSexo(String sexo) {
- this.sexo = sexo;
- }
- public String getTelefonoFijo1() {
- return telefonoFijo1;
- }
- public void setTelefonoFijo1(String telefonoFijo1) {
- this.telefonoFijo1 = telefonoFijo1;
- }
- public String getTelefonoFijo2() {
- return telefonoFijo2;
- }
- public void setTelefonoFijo2(String telefonoFijo2) {
- this.telefonoFijo2 = telefonoFijo2;
- }
- public String getTelefonoCelular() {
- return telefonoCelular;
- }
- public void setTelefonoCelular(String telefonoCelular) {
- this.telefonoCelular = telefonoCelular;
- }
- public String getEmail() {
- return email;
- }
- public void setEmail(String email) {
- this.email = email;
- }
- public Integer getEsPersonaMoral() {
- return esPersonaMoral;
- }
- public void setEsPersonaMoral(Integer esPersonaMoral) {
- this.esPersonaMoral = esPersonaMoral;
- }
- public String getClaveEdo() {
- return claveEdo;
- }
- public void setClaveEdo(String claveEdo) {
- this.claveEdo = claveEdo;
- }
- public String getClaveMun() {
- return claveMun;
- }
- public void setClaveMun(String claveMun) {
- this.claveMun = claveMun;
- }
- public Integer getFkIdColoniaText() {
- return fkIdColoniaText;
- }
- public void setFkIdColoniaText(Integer fkIdColoniaText) {
- this.fkIdColoniaText = fkIdColoniaText;
- }
- public Integer getFkIdCalleText() {
- return fkIdCalleText;
- }
- public void setFkIdCalleText(Integer fkIdCalleText) {
- this.fkIdCalleText = fkIdCalleText;
- }
- public String getCp() {
- return cp;
- }
- public void setCp(String cp) {
- this.cp = cp;
- }
- public String getComplementoDireccion() {
- return complementoDireccion;
- }
- public void setComplementoDireccion(String complementoDireccion) {
- this.complementoDireccion = complementoDireccion;
- }
- public String getFechaCaptura() {
- return fechaCaptura;
- }
- public void setFechaCaptura(String fechaCaptura) {
- this.fechaCaptura = fechaCaptura;
- }
- public Integer getFkIdUsuario() {
- return fkIdUsuario;
- }
- public void setFkIdUsuario(Integer fkIdUsuario) {
- this.fkIdUsuario = fkIdUsuario;
- }
- public String getGenero() {
- return genero;
- }
- public void setGenero(String genero) {
- this.genero = genero;
- }
- public String getCurp() {
- return curp;
- }
- public void setCurp(String curp) {
- this.curp = curp;
- }
- public Integer getFkIdUsuarioApp() {
- return fkIdUsuarioApp;
- }
- public void setFkIdUsuarioApp(Integer fkIdUsuarioApp) {
- this.fkIdUsuarioApp = fkIdUsuarioApp;
- }
- }
- -----------------------------------com.example.Usuario.java-----------------------------------
- package com.example;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class Usuario {
- @SerializedName("idUsuario")
- @Expose
- private Integer idUsuario;
- @SerializedName("nombreUsuario")
- @Expose
- private String nombreUsuario;
- @SerializedName("contrasenia")
- @Expose
- private String contrasenia;
- @SerializedName("token")
- @Expose
- private String token;
- @SerializedName("fechaAlta")
- @Expose
- private String fechaAlta;
- @SerializedName("fechaUltimoAcceso")
- @Expose
- private String fechaUltimoAcceso;
- @SerializedName("facebookID")
- @Expose
- private Integer facebookID;
- public Integer getIdUsuario() {
- return idUsuario;
- }
- public void setIdUsuario(Integer idUsuario) {
- this.idUsuario = idUsuario;
- }
- public String getNombreUsuario() {
- return nombreUsuario;
- }
- public void setNombreUsuario(String nombreUsuario) {
- this.nombreUsuario = nombreUsuario;
- }
- public String getContrasenia() {
- return contrasenia;
- }
- public void setContrasenia(String contrasenia) {
- this.contrasenia = contrasenia;
- }
- public String getToken() {
- return token;
- }
- public void setToken(String token) {
- this.token = token;
- }
- public String getFechaAlta() {
- return fechaAlta;
- }
- public void setFechaAlta(String fechaAlta) {
- this.fechaAlta = fechaAlta;
- }
- public String getFechaUltimoAcceso() {
- return fechaUltimoAcceso;
- }
- public void setFechaUltimoAcceso(String fechaUltimoAcceso) {
- this.fechaUltimoAcceso = fechaUltimoAcceso;
- }
- public Integer getFacebookID() {
- return facebookID;
- }
- public void setFacebookID(Integer facebookID) {
- this.facebookID = facebookID;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement