Hibernate

adplus-dvertising
First java File
Previous Home Next

Address.java

package r4r;
public class Address {
int id;
String city,street;
public Address() {
}
public Address(String city, 
String street) {
super();
this.city = city;
this.street = street;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
}
Previous Home Next