public function initialize() { $this->hasOne('customer_id', Users::class, 'id', ['alias' => 'user', 'reusable' => true]); }