package org.jpos.tcpay.db.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;

@Data
@Accessors(chain = true)
@Entity
@Table(name = "address")
public class Address {
    @Id
    @GeneratedValue
    long id;

    @Column(name="line1")
    String line1;

    @Column(name="line2")
    String line2;

    @Column(name="line3")
    String line3;

    @Column(name="line4")
    String line4;

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

    @Column(name="state")
    String state;

    @Column(name="country")
    String country;

    @Column(name="postalCode")
    String postalCode;

}
