Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. package info.androidhive.olarteEsteematorlite.EntityFirebase;
  2.  
  3.  
  4. import android.support.annotation.NonNull;
  5.  
  6. import com.google.gson.annotations.SerializedName;
  7.  
  8. import java.util.List;
  9.  
  10.  
  11. public class User {
  12. @SerializedName("Users")
  13. public Users user;
  14.  
  15.  
  16. public static class Users {
  17. public String getEmail() {
  18. return email;
  19. }
  20.  
  21. public void setEmail(String email) {
  22. this.email = email;
  23. }
  24.  
  25. public String getName() {
  26. return name;
  27. }
  28.  
  29. public void setName(String name) {
  30. this.name = name;
  31. }
  32.  
  33. public String getUid() {
  34. return uid;
  35. }
  36.  
  37. public void setUid(String uid) {
  38. this.uid = uid;
  39. }
  40.  
  41. public String getCountry() {
  42. return country;
  43. }
  44.  
  45. public void setCountry(String country) {
  46. this.country = country;
  47. }
  48.  
  49.  
  50.  
  51. @SerializedName("email")
  52. public String email;
  53. @SerializedName("name")
  54. public String name;
  55. @SerializedName("uid")
  56. public String uid;
  57. @SerializedName("country")
  58. public String country;
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. }
  66. @SerializedName("Formulas")
  67. public List<Formula> formulas;
  68.  
  69.  
  70. public static class Formula extends User {
  71.  
  72.  
  73.  
  74. @SerializedName("costoTotal")
  75. public String costoTotal;
  76. @SerializedName("margen")
  77. public String margen;
  78. @SerializedName("margenDeseado")
  79. public String margenDeseado;
  80.  
  81. @SerializedName("nombre")
  82. public String nombre;
  83.  
  84. @SerializedName("type_formula")
  85. public String type_formula;
  86.  
  87. @SerializedName("ventas")
  88. public String ventas;
  89.  
  90. public String getCostoTotal() {
  91. return costoTotal;
  92. }
  93.  
  94. public void setCostoTotal(String costoTotal) {
  95. this.costoTotal = costoTotal;
  96. }
  97.  
  98. public String getMargen() {
  99. return margen;
  100. }
  101.  
  102. public void setMargen(String margen) {
  103. this.margen = margen;
  104. }
  105.  
  106. public String getMargenDeseado() {
  107. return margenDeseado;
  108. }
  109.  
  110. public void setMargenDeseado(String margenDeseado) {
  111. this.margenDeseado = margenDeseado;
  112. }
  113.  
  114. public String getNombre() {
  115. return nombre;
  116. }
  117.  
  118. public void setNombre(String nombre) {
  119. this.nombre = nombre;
  120. }
  121.  
  122. public String getType_formula() {
  123. return type_formula;
  124. }
  125.  
  126. public void setType_formula(String type_formula) {
  127. this.type_formula = type_formula;
  128. }
  129.  
  130. public String getVentas() {
  131. return ventas;
  132. }
  133.  
  134. public void setVentas(String ventas) {
  135. this.ventas = ventas;
  136. }
  137.  
  138. }
  139.  
  140. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement