package com.baldy.commons.models.proper;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class Address {

    @Column(name = "LINE1")
    private String addressLine1;

    @Column(name = "LINE2")
    private String addressLine2;

    @Column(name = "city")
    private String city;

    @Column(name = "PROVINCE")
    private String province;

    @Column(name = "ZIP")
    private String zip;

    public String getAddressLine1() {
        return addressLine1;
    }

    public void setAddressLine1(String addressLine1) {
        this.addressLine1 = addressLine1;
    }

    public String getAddressLine2() {
        return addressLine2;
    }

    public void setAddressLine2(String addressLine2) {
        this.addressLine2 = addressLine2;
    }

    public String getCity() {
        return city;
    }

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

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

}

@@ -158,24 +158,29 @@
 umn(name = %22
+ADDR_
 LINE1%22)%0A    
@@ -229,16 +229,21 @@
 name = %22
+ADDR_
 LINE2%22)%0A
@@ -296,20 +296,25 @@
 name = %22
-city
+ADDR_CITY
 %22)%0A    p
@@ -354,16 +354,21 @@
 name = %22
+ADDR_
 PROVINCE
@@ -420,16 +420,21 @@
 name = %22
+ADDR_
 ZIP%22)%0A  

Update addr column names