Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.08 KB | None | 0 0
  1. -----------------------------------com.example.Obj.java-----------------------------------
  2.  
  3. package com.example;
  4.  
  5. import com.google.gson.annotations.Expose;
  6. import com.google.gson.annotations.SerializedName;
  7.  
  8. public class Obj {
  9.  
  10. @SerializedName("Usuario")
  11. @Expose
  12. private Usuario usuario;
  13. @SerializedName("Solicitante")
  14. @Expose
  15. private Solicitante solicitante;
  16.  
  17. public Usuario getUsuario() {
  18. return usuario;
  19. }
  20.  
  21. public void setUsuario(Usuario usuario) {
  22. this.usuario = usuario;
  23. }
  24.  
  25. public Solicitante getSolicitante() {
  26. return solicitante;
  27. }
  28.  
  29. public void setSolicitante(Solicitante solicitante) {
  30. this.solicitante = solicitante;
  31. }
  32.  
  33. }
  34. -----------------------------------com.example.Respuesta.java-----------------------------------
  35.  
  36. package com.example;
  37.  
  38. import com.google.gson.annotations.Expose;
  39. import com.google.gson.annotations.SerializedName;
  40.  
  41. public class Respuesta {
  42.  
  43. @SerializedName("code")
  44. @Expose
  45. private Integer code;
  46. @SerializedName("msg")
  47. @Expose
  48. private String msg;
  49. @SerializedName("obj")
  50. @Expose
  51. private Obj obj;
  52.  
  53. public Integer getCode() {
  54. return code;
  55. }
  56.  
  57. public void setCode(Integer code) {
  58. this.code = code;
  59. }
  60.  
  61. public String getMsg() {
  62. return msg;
  63. }
  64.  
  65. public void setMsg(String msg) {
  66. this.msg = msg;
  67. }
  68.  
  69. public Obj getObj() {
  70. return obj;
  71. }
  72.  
  73. public void setObj(Obj obj) {
  74. this.obj = obj;
  75. }
  76.  
  77. }
  78. -----------------------------------com.example.Solicitante.java-----------------------------------
  79.  
  80. package com.example;
  81.  
  82. import com.google.gson.annotations.Expose;
  83. import com.google.gson.annotations.SerializedName;
  84.  
  85. public class Solicitante {
  86.  
  87. @SerializedName("id_Solictante_Servicio")
  88. @Expose
  89. private Integer idSolictanteServicio;
  90. @SerializedName("fk_Id_Solicitud_Servicio")
  91. @Expose
  92. private Integer fkIdSolicitudServicio;
  93. @SerializedName("nombres")
  94. @Expose
  95. private String nombres;
  96. @SerializedName("app_Paterno")
  97. @Expose
  98. private String appPaterno;
  99. @SerializedName("app_Materno")
  100. @Expose
  101. private String appMaterno;
  102. @SerializedName("sexo")
  103. @Expose
  104. private String sexo;
  105. @SerializedName("telefono_Fijo_1")
  106. @Expose
  107. private String telefonoFijo1;
  108. @SerializedName("telefono_Fijo_2")
  109. @Expose
  110. private String telefonoFijo2;
  111. @SerializedName("telefono_Celular")
  112. @Expose
  113. private String telefonoCelular;
  114. @SerializedName("email")
  115. @Expose
  116. private String email;
  117. @SerializedName("es_Persona_Moral")
  118. @Expose
  119. private Integer esPersonaMoral;
  120. @SerializedName("clave_Edo")
  121. @Expose
  122. private String claveEdo;
  123. @SerializedName("clave_Mun")
  124. @Expose
  125. private String claveMun;
  126. @SerializedName("fk_Id_Colonia_Text")
  127. @Expose
  128. private Integer fkIdColoniaText;
  129. @SerializedName("fk_Id_Calle_Text")
  130. @Expose
  131. private Integer fkIdCalleText;
  132. @SerializedName("cp")
  133. @Expose
  134. private String cp;
  135. @SerializedName("complemento_Direccion")
  136. @Expose
  137. private String complementoDireccion;
  138. @SerializedName("fecha_Captura")
  139. @Expose
  140. private String fechaCaptura;
  141. @SerializedName("fk_Id_Usuario")
  142. @Expose
  143. private Integer fkIdUsuario;
  144. @SerializedName("genero")
  145. @Expose
  146. private String genero;
  147. @SerializedName("curp")
  148. @Expose
  149. private String curp;
  150. @SerializedName("fk_Id_Usuario_App")
  151. @Expose
  152. private Integer fkIdUsuarioApp;
  153.  
  154. public Integer getIdSolictanteServicio() {
  155. return idSolictanteServicio;
  156. }
  157.  
  158. public void setIdSolictanteServicio(Integer idSolictanteServicio) {
  159. this.idSolictanteServicio = idSolictanteServicio;
  160. }
  161.  
  162. public Integer getFkIdSolicitudServicio() {
  163. return fkIdSolicitudServicio;
  164. }
  165.  
  166. public void setFkIdSolicitudServicio(Integer fkIdSolicitudServicio) {
  167. this.fkIdSolicitudServicio = fkIdSolicitudServicio;
  168. }
  169.  
  170. public String getNombres() {
  171. return nombres;
  172. }
  173.  
  174. public void setNombres(String nombres) {
  175. this.nombres = nombres;
  176. }
  177.  
  178. public String getAppPaterno() {
  179. return appPaterno;
  180. }
  181.  
  182. public void setAppPaterno(String appPaterno) {
  183. this.appPaterno = appPaterno;
  184. }
  185.  
  186. public String getAppMaterno() {
  187. return appMaterno;
  188. }
  189.  
  190. public void setAppMaterno(String appMaterno) {
  191. this.appMaterno = appMaterno;
  192. }
  193.  
  194. public String getSexo() {
  195. return sexo;
  196. }
  197.  
  198. public void setSexo(String sexo) {
  199. this.sexo = sexo;
  200. }
  201.  
  202. public String getTelefonoFijo1() {
  203. return telefonoFijo1;
  204. }
  205.  
  206. public void setTelefonoFijo1(String telefonoFijo1) {
  207. this.telefonoFijo1 = telefonoFijo1;
  208. }
  209.  
  210. public String getTelefonoFijo2() {
  211. return telefonoFijo2;
  212. }
  213.  
  214. public void setTelefonoFijo2(String telefonoFijo2) {
  215. this.telefonoFijo2 = telefonoFijo2;
  216. }
  217.  
  218. public String getTelefonoCelular() {
  219. return telefonoCelular;
  220. }
  221.  
  222. public void setTelefonoCelular(String telefonoCelular) {
  223. this.telefonoCelular = telefonoCelular;
  224. }
  225.  
  226. public String getEmail() {
  227. return email;
  228. }
  229.  
  230. public void setEmail(String email) {
  231. this.email = email;
  232. }
  233.  
  234. public Integer getEsPersonaMoral() {
  235. return esPersonaMoral;
  236. }
  237.  
  238. public void setEsPersonaMoral(Integer esPersonaMoral) {
  239. this.esPersonaMoral = esPersonaMoral;
  240. }
  241.  
  242. public String getClaveEdo() {
  243. return claveEdo;
  244. }
  245.  
  246. public void setClaveEdo(String claveEdo) {
  247. this.claveEdo = claveEdo;
  248. }
  249.  
  250. public String getClaveMun() {
  251. return claveMun;
  252. }
  253.  
  254. public void setClaveMun(String claveMun) {
  255. this.claveMun = claveMun;
  256. }
  257.  
  258. public Integer getFkIdColoniaText() {
  259. return fkIdColoniaText;
  260. }
  261.  
  262. public void setFkIdColoniaText(Integer fkIdColoniaText) {
  263. this.fkIdColoniaText = fkIdColoniaText;
  264. }
  265.  
  266. public Integer getFkIdCalleText() {
  267. return fkIdCalleText;
  268. }
  269.  
  270. public void setFkIdCalleText(Integer fkIdCalleText) {
  271. this.fkIdCalleText = fkIdCalleText;
  272. }
  273.  
  274. public String getCp() {
  275. return cp;
  276. }
  277.  
  278. public void setCp(String cp) {
  279. this.cp = cp;
  280. }
  281.  
  282. public String getComplementoDireccion() {
  283. return complementoDireccion;
  284. }
  285.  
  286. public void setComplementoDireccion(String complementoDireccion) {
  287. this.complementoDireccion = complementoDireccion;
  288. }
  289.  
  290. public String getFechaCaptura() {
  291. return fechaCaptura;
  292. }
  293.  
  294. public void setFechaCaptura(String fechaCaptura) {
  295. this.fechaCaptura = fechaCaptura;
  296. }
  297.  
  298. public Integer getFkIdUsuario() {
  299. return fkIdUsuario;
  300. }
  301.  
  302. public void setFkIdUsuario(Integer fkIdUsuario) {
  303. this.fkIdUsuario = fkIdUsuario;
  304. }
  305.  
  306. public String getGenero() {
  307. return genero;
  308. }
  309.  
  310. public void setGenero(String genero) {
  311. this.genero = genero;
  312. }
  313.  
  314. public String getCurp() {
  315. return curp;
  316. }
  317.  
  318. public void setCurp(String curp) {
  319. this.curp = curp;
  320. }
  321.  
  322. public Integer getFkIdUsuarioApp() {
  323. return fkIdUsuarioApp;
  324. }
  325.  
  326. public void setFkIdUsuarioApp(Integer fkIdUsuarioApp) {
  327. this.fkIdUsuarioApp = fkIdUsuarioApp;
  328. }
  329.  
  330. }
  331. -----------------------------------com.example.Usuario.java-----------------------------------
  332.  
  333. package com.example;
  334.  
  335. import com.google.gson.annotations.Expose;
  336. import com.google.gson.annotations.SerializedName;
  337.  
  338. public class Usuario {
  339.  
  340. @SerializedName("idUsuario")
  341. @Expose
  342. private Integer idUsuario;
  343. @SerializedName("nombreUsuario")
  344. @Expose
  345. private String nombreUsuario;
  346. @SerializedName("contrasenia")
  347. @Expose
  348. private String contrasenia;
  349. @SerializedName("token")
  350. @Expose
  351. private String token;
  352. @SerializedName("fechaAlta")
  353. @Expose
  354. private String fechaAlta;
  355. @SerializedName("fechaUltimoAcceso")
  356. @Expose
  357. private String fechaUltimoAcceso;
  358. @SerializedName("facebookID")
  359. @Expose
  360. private Integer facebookID;
  361.  
  362. public Integer getIdUsuario() {
  363. return idUsuario;
  364. }
  365.  
  366. public void setIdUsuario(Integer idUsuario) {
  367. this.idUsuario = idUsuario;
  368. }
  369.  
  370. public String getNombreUsuario() {
  371. return nombreUsuario;
  372. }
  373.  
  374. public void setNombreUsuario(String nombreUsuario) {
  375. this.nombreUsuario = nombreUsuario;
  376. }
  377.  
  378. public String getContrasenia() {
  379. return contrasenia;
  380. }
  381.  
  382. public void setContrasenia(String contrasenia) {
  383. this.contrasenia = contrasenia;
  384. }
  385.  
  386. public String getToken() {
  387. return token;
  388. }
  389.  
  390. public void setToken(String token) {
  391. this.token = token;
  392. }
  393.  
  394. public String getFechaAlta() {
  395. return fechaAlta;
  396. }
  397.  
  398. public void setFechaAlta(String fechaAlta) {
  399. this.fechaAlta = fechaAlta;
  400. }
  401.  
  402. public String getFechaUltimoAcceso() {
  403. return fechaUltimoAcceso;
  404. }
  405.  
  406. public void setFechaUltimoAcceso(String fechaUltimoAcceso) {
  407. this.fechaUltimoAcceso = fechaUltimoAcceso;
  408. }
  409.  
  410. public Integer getFacebookID() {
  411. return facebookID;
  412. }
  413.  
  414. public void setFacebookID(Integer facebookID) {
  415. this.facebookID = facebookID;
  416. }
  417.  
  418. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement