'Заголовок', // 'entity' => 'Сущность', // 'slug' => 'Slug', // 'status' => 'Статус', // ] return [ 'gestalt_profile_id' => 'Профиль', 'entity' => 'Сущность', 'entity_id' => 'ID сущности', ]; } /** * @return string[] */ public static function getStatus(): array { return [ self::DISABLE_STATUS => "Не активный", self::ACTIVE_STATUS => "Активный", ]; } public function profile(): \Illuminate\Database\Eloquent\Relations\BelongsTo { return $this->belongsTo(Gestalt_profile::class, 'gestalt_profile_id'); } }