content: package org.agoncal.sample.jaxrs.testing;
  
  import javax.xml.bind.annotation.XmlRootElement;
  
  /**
   * @author Antonio Goncalves
   *         http://www.antoniogoncalves.org
   *         --
   */
  @XmlRootElement
  public class Customer {
  
      // ======================================
      // =             Attributes             =
      // ======================================
  
      private Long id;
      private String login;
      private String firstName;
      private String lastName;
      private String email;
      private String phoneNumber;
  
      // ======================================
      // =            Constructors            =
      // ======================================
  
      public Customer() {
      }
  
      public Customer(String firstName, String lastName, String email, String phoneNumber) {
          this.firstName = firstName;
          this.lastName = lastName;
          this.email = email;
          this.phoneNumber = phoneNumber;
      }
  
      // ======================================
      // =          Getters & Setters         =
      // ======================================
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getLogin() {
          return login;
      }
  
      public void setLogin(String login) {
          this.login = login;
      }
  
      public String getFirstName() {
          return firstName;
      }
  
      public void setFirstName(String firstName) {
          this.firstName = firstName;
      }
  
      public String getLastName() {
          return lastName;
      }
  
      public void setLastName(String lastName) {
          this.lastName = lastName;
      }
  
      public String getEmail() {
          return email;
      }
  
      public void setEmail(String email) {
          this.email = email;
      }
  
      public String getPhoneNumber() {
          return phoneNumber;
      }
  
      public void setPhoneNumber(String phoneNumber) {
          this.phoneNumber = phoneNumber;
      }
  }