default attributes */ protected $attributes = [ // phpcs:ignore 'map_url' => null, 'description' => null, 'dect' => null, ]; /** @var array */ protected $fillable = [ // phpcs:ignore 'name', 'dect', 'map_url', 'description', ]; public function activeForSchedules(): BelongsToMany { return $this->belongsToMany(Schedule::class, 'schedule_locations'); } public function neededAngelTypes(): HasMany { return $this->hasMany(NeededAngelType::class); } public function shifts(): HasMany { return $this->hasMany(Shift::class); } }