Relationship: Employees - Certificates

From MintHCM Wiki

Employees - Certificates

Relationship certificates_employee
Type one-to-many
LHS Module Employees
LHS ID id
LHS Label Certificates
LHS Fields Certificates
RHS Module Certificates
RHS ID employee_id
RHS Label Employee
RHS Fields Employee, Name, Employee, Employee ID

Short Description

One Employees record can have many related Certificates records, but a specific Certificates record can be related to only one Employees record.


Location and Code definition

Array ( [lhs_module] => Employees [lhs_table] => users [lhs_key] => id [rhs_module] => Certificates [rhs_table] => certificates [rhs_key] => employee_id [relationship_type] => one-to-many )


Mentioned in articles