I am using one-to-one relationship where the relationship is based on the names for both the models.
one-to-one
where the relationship is based on the names for both the models
public function names() {