public static function bootSluggable()
    {
        static::creating(function ($model) {
            $model->generateSlug();
        });

        static::created(function ($model) {
            if ($model->slugStrategy() == 'id') {
                $model->generateIdSlug();
                $model->save();
            }
        });
    }