package org.jboss.resteasy.test.core.basic.resource;

import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "customer")
public class ApplicationFilterCustomer {
   private int id;
   private String firstName;
   private String lastName;
   private String street;
   private String city;
   private String state;
   private String zip;
   private String country;

   @XmlAttribute
   public int getId() {
      return id;
   }

   public void setId(int id) {
      this.id = id;
   }

   @XmlElement(name = "first-name")
   public String getFirstName() {
      return firstName;
   }

   public void setFirstName(String firstName) {
      this.firstName = firstName;
   }

   @XmlElement(name = "last-name")
   public String getLastName() {
      return lastName;
   }

   public void setLastName(String lastName) {
      this.lastName = lastName;
   }

   @XmlElement
   public String getStreet() {
      return street;
   }

   public void setStreet(String street) {
      this.street = street;
   }

   @XmlElement
   public String getCity() {
      return city;
   }

   public void setCity(String city) {
      this.city = city;
   }

   @XmlElement
   public String getState() {
      return state;
   }

   public void setState(String state) {
      this.state = state;
   }

   @XmlElement
   public String getZip() {
      return zip;
   }

   public void setZip(String zip) {
      this.zip = zip;
   }

   @XmlElement
   public String getCountry() {
      return country;
   }

   public void setCountry(String country) {
      this.country = country;
   }
}
