package com.microstar.tap3.db;
// Generated Jun 12, 2017 8:29:18 AM by Hibernate Tools 4.3.1.Final

import org.hibernate.annotations.GenericGenerator;
import javax.persistence.GeneratedValue;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ContactAddressLink generated by hbm2java
 */
@Entity
@Table(name = "ContactAddressLink")
public class ContactAddressLink implements java.io.Serializable
{

	private String	id;
	private String	contactId;
	private String	addressId;

	public ContactAddressLink()
	{
	}

	public ContactAddressLink(String id, String contactId, String addressId)
	{
		this.id = id;
		this.contactId = contactId;
		this.addressId = addressId;
	}

	@Id @GeneratedValue(generator = "uuid") @GenericGenerator(name = "uuid", strategy = "uuid2")

	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId()
	{
		return this.id;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	@Column(name = "ContactId", nullable = false, length = 36)
	public String getContactId()
	{
		return this.contactId;
	}

	public void setContactId(String contactId)
	{
		this.contactId = contactId;
	}

	@Column(name = "AddressId", nullable = false, length = 36)
	public String getAddressId()
	{
		return this.addressId;
	}

	public void setAddressId(String addressId)
	{
		this.addressId = addressId;
	}

}
