mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
51 lines
751 B
Java
51 lines
751 B
Java
package org.tests.model.site;
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import java.util.UUID;
|
|
|
|
@Entity
|
|
public class SiteAddress {
|
|
|
|
@Id
|
|
private UUID id;
|
|
|
|
private String street;
|
|
|
|
private String city;
|
|
|
|
private String zipCode;
|
|
|
|
public String getStreet() {
|
|
return street;
|
|
}
|
|
|
|
public void setStreet(final String street) {
|
|
this.street = street;
|
|
}
|
|
|
|
public String getCity() {
|
|
return city;
|
|
}
|
|
|
|
public void setCity(final String city) {
|
|
this.city = city;
|
|
}
|
|
|
|
public String getZipCode() {
|
|
return zipCode;
|
|
}
|
|
|
|
public void setZipCode(final String zipCode) {
|
|
this.zipCode = zipCode;
|
|
}
|
|
|
|
public UUID getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(final UUID id) {
|
|
this.id = id;
|
|
}
|
|
}
|