jpashop : entity (embedded type)

This commit is contained in:
kim
2021-01-24 02:44:44 +09:00
parent 95536efdac
commit 17eb1989f9

View File

@@ -11,4 +11,13 @@ public class Address {
private String city;
private String street;
private String zipcode;
protected Address() {
}
public Address(String city, String street, String zipcode) {
this.city = city;
this.street = street;
this.zipcode = zipcode;
}
}