package com.acme.model.domain.ad.entity;


import com.acme.structure.BaseEntityListener;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.PrimaryKeyJoinColumn;

@Entity(name = "EmployeeContact")
@javax.persistence.Table(name = "EMPLOYEECONTACTS")
@DiscriminatorValue("EmployeeContact")
@PrimaryKeyJoinColumn(name = "CONTACTID", referencedColumnName = "ID")
@EntityListeners( { BaseEntityListener.class })
public class EmployeeContact extends Contact
{
    public EmployeeContact()
    {
        entityName = "EmployeeContact";
        setContactType(this.getEntityName());
    }
}
