First one should be public $hasOne = [‘Employee’];
public $hasOne = [‘Employee’];
How are you trying to use it?