Advertisement
Avasam

Succursale.java

May 16th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.06 KB | None | 0 0
  1. // http://www.jsonschema2pojo.org/
  2. package com.therrien.samuel.annuairesuccursales.model;
  3.  
  4. import com.google.gson.annotations.Expose;
  5. import com.google.gson.annotations.SerializedName;
  6.  
  7. public class Succursale {
  8.  
  9.     @SerializedName("noEntrepriseQuebec")
  10.     @Expose
  11.     private Integer noEntrepriseQuebec;
  12.     @SerializedName("nom")
  13.     @Expose
  14.     private String nom;
  15.     @SerializedName("description")
  16.     @Expose
  17.     private String description;
  18.     @SerializedName("longitude")
  19.     @Expose
  20.     private Double longitude;
  21.     @SerializedName("lattitude")
  22.     @Expose
  23.     private Double lattitude;
  24.  
  25.     /**
  26.      * No args constructor for use in serialization
  27.      *
  28.      */
  29.     public Succursale() {
  30.     }
  31.  
  32.     /**
  33.      *
  34.      * @param noEntrepriseQuebec
  35.      * @param nom
  36.      * @param description
  37.      * @param longitude
  38.      * @param lattitude
  39.      */
  40.     public Succursale(Integer noEntrepriseQuebec, String nom, String description, Double longitude, Double lattitude) {
  41.         super();
  42.         this.noEntrepriseQuebec = noEntrepriseQuebec;
  43.         this.nom = nom;
  44.         this.description = description;
  45.         this.longitude = longitude;
  46.         this.lattitude = lattitude;
  47.     }
  48.  
  49.     public String getDescription() {
  50.         return description;
  51.     }
  52.  
  53.     public void setDescription(String description) {
  54.         this.description = description;
  55.     }
  56.  
  57.     public Integer getNoEntrepriseQuebec() {
  58.         return noEntrepriseQuebec;
  59.     }
  60.  
  61.     public void setNoEntrepriseQuebec(Integer noEntrepriseQuebec) {
  62.         this.noEntrepriseQuebec = noEntrepriseQuebec;
  63.     }
  64.  
  65.     public String getNom() {
  66.         return nom;
  67.     }
  68.  
  69.     public void setNom(String nom) {
  70.         this.nom = nom;
  71.     }
  72.  
  73.     public Double getLattitude() {
  74.         return lattitude;
  75.     }
  76.  
  77.     public void setLattitude(Double lattitude) {
  78.         this.lattitude = lattitude;
  79.     }
  80.  
  81.     public Double getLongitude() {
  82.         return longitude;
  83.     }
  84.  
  85.     public void setLongitude(Double longitude) {
  86.         this.longitude = longitude;
  87.     }
  88.  
  89. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement