package org.academiadecodigo.enuminatti.hibernatebootstrap.models;

import javax.persistence.Embeddable;

/**
 * MIT License
 * (c) 2017 Ricardo Constantino
 */

@Embeddable
public class Address {
    private String street;
    private String city;
    private String zipcode;

    public Address() {
    }

    public Address(String street, String city, String zipcode) {
        this.street = street;
        this.city = city;
        this.zipcode = zipcode;
    }

    public String getStreet() {
        return street;
    }

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

    public String getCity() {
        return city;
    }

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

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }
}
