import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
+import javax.persistence.Transient;
import org.mxchange.jcountry.data.Country;
import org.mxchange.jcountry.data.CountryData;
import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
*/
@JoinColumn (name = "branch_country_id", nullable = false)
@OneToOne (targetEntity = CountryData.class, cascade = CascadeType.ALL, optional = false)
+ @Transient
private Country branchCountry;
/**
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
+import javax.persistence.Transient;
import org.mxchange.jcontactsbusiness.BusinessContact;
import org.mxchange.jcontactsbusiness.CompanyContact;
import org.mxchange.jcontactsbusiness.employee.CompanyEmployee;
*/
@JoinColumn (name = "department_company_id", nullable = false, updatable = false)
@ManyToOne (targetEntity = CompanyContact.class, cascade = CascadeType.ALL, optional = false)
+ @Transient
private BusinessContact departmentCompany;
/**
*/
@JoinColumn (name = "department_lead_id", nullable = false)
@OneToOne (targetEntity = CompanyEmployee.class, cascade = CascadeType.ALL)
+ @Transient
private Employee departmentLead;
/**
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
+import javax.persistence.Transient;
import org.mxchange.jcontacts.contact.Contact;
import org.mxchange.jcontacts.contact.UserContact;
import org.mxchange.jcontactsbusiness.branch.BranchOffice;
*/
@JoinColumn (name = "employee_personal_data_id", nullable = false, updatable = false)
@OneToOne (targetEntity = UserContact.class, cascade = CascadeType.ALL, optional = false)
+ @Transient
private Contact employeePersonalData;
/**
*/
@JoinColumn (name = "employee_position_id")
@OneToOne (targetEntity = EmployeePosition.class, cascade = CascadeType.ALL)
+ @Transient
private JobPosition employeePosition;
@Override
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
+import javax.persistence.Transient;
import org.mxchange.jcountry.data.Country;
import org.mxchange.jcountry.data.CountryData;
import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
*/
@JoinColumn (name = "headquarters_country_id", nullable = false)
@OneToOne (targetEntity = CountryData.class, cascade = CascadeType.ALL, optional = false)
+ @Transient
private Country headquartersCountry;
/**