Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package info.androidhive.olarteEsteematorlite.EntityFirebase;
- import android.support.annotation.NonNull;
- import com.google.gson.annotations.SerializedName;
- import java.util.List;
- public class User {
- @SerializedName("Users")
- public Users user;
- public static class Users {
- public String getEmail() {
- return email;
- }
- public void setEmail(String email) {
- this.email = email;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getUid() {
- return uid;
- }
- public void setUid(String uid) {
- this.uid = uid;
- }
- public String getCountry() {
- return country;
- }
- public void setCountry(String country) {
- this.country = country;
- }
- @SerializedName("email")
- public String email;
- @SerializedName("name")
- public String name;
- @SerializedName("uid")
- public String uid;
- @SerializedName("country")
- public String country;
- }
- @SerializedName("Formulas")
- public List<Formula> formulas;
- public static class Formula extends User {
- @SerializedName("costoTotal")
- public String costoTotal;
- @SerializedName("margen")
- public String margen;
- @SerializedName("margenDeseado")
- public String margenDeseado;
- @SerializedName("nombre")
- public String nombre;
- @SerializedName("type_formula")
- public String type_formula;
- @SerializedName("ventas")
- public String ventas;
- public String getCostoTotal() {
- return costoTotal;
- }
- public void setCostoTotal(String costoTotal) {
- this.costoTotal = costoTotal;
- }
- public String getMargen() {
- return margen;
- }
- public void setMargen(String margen) {
- this.margen = margen;
- }
- public String getMargenDeseado() {
- return margenDeseado;
- }
- public void setMargenDeseado(String margenDeseado) {
- this.margenDeseado = margenDeseado;
- }
- public String getNombre() {
- return nombre;
- }
- public void setNombre(String nombre) {
- this.nombre = nombre;
- }
- public String getType_formula() {
- return type_formula;
- }
- public void setType_formula(String type_formula) {
- this.type_formula = type_formula;
- }
- public String getVentas() {
- return ventas;
- }
- public void setVentas(String ventas) {
- this.ventas = ventas;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement