*/ #[\Override] protected function casts(): array { return [ 'employee_sites' => EmployeeSitesCast::class, ]; } public static function getSingleton(): self { return self::query()->firstOrCreate( ['id' => self::SINGLETON_ID], [ 'employee_sites' => [], ] ); } }