@Enumerated(EnumType.STRING)
을 해야 함public enum Week {
MON, TUE, WED, THU, FRI, SAT, SUN
}
@Embeddable
@Getters
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;
}
}