hasOne('App\Model\UserDetail','_id','_id'); } public function kompaun() { return $this->hasMany('App\Model\Kompaun','ic_penerima','identity'); } }