$achievements */ class AchievementCategory extends Model { const array ORDER = [ 'number_of_flights', 'distance', 'general_flying', 'countries_and_continents', 'aircraft', 'airlines_and_alliances', 'fun_challenges', ]; protected $fillable = [ 'internal_name', 'name', 'description', ]; // --------------------------------------------------------------- // Relationships // --------------------------------------------------------------- public function achievements(): HasMany { return $this->hasMany(Achievement::class, 'achievement_category_id'); } }