*/ protected function casts(): array { return [ 'created_at' => 'datetime', 'expires_at' => 'datetime', ]; } /** * Get user of the connected account. */ public function user(): BelongsTo { return $this->belongsTo(User::class); } }