'integer', 'authorized_user_id' => 'integer', 'email' => 'string', 'firstname' => 'string', 'lastname' => 'string', 'phone_number' => 'string', 'relation_to_user' => 'string', 'token' => 'string', 'status' => 'string', ]; // Relationship: Each authorized user belongs to a user public function user() { return $this->belongsTo(User::class, 'user_id'); } }