mein-sterntours/app/Models/IQContentFileTag.php
Phase-1-Rollback-Agent e3dc1afd8e WIP: Sicherheitsnetz vor Phase-1-R\u00fcckbau
Enth\u00e4lt gemischt: Laravel-10-Upgrade + Phase 1 (Contacts-Modul, Duplicats-Commands,
Soft-Delete+Merge-Fields) + Phase 2 Code-Umstellungen (inquiry_id, $table='contacts'/'inquiries')
+ Offers-Modul (Migrationen, Models, offer_id in Booking, offer-Disk in filesystems.php).

Phase 2 + Offers werden im folgenden Commit nach dev/backups/phase2-offers-2026-04-17/
verschoben, damit der Workspace auf Phase-1-only (= Test-System-Stand) reduziert ist
und direkt auf Live deploybar wird.

Tarball-Backup zus\u00e4tzlich unter: ../backups-safety/workspace-pre-phase1-rollback-2026-04-17.tar.gz

Made-with: Cursor
2026-04-17 13:40:31 +00:00

59 lines
1.7 KiB
PHP

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class IQContentFileTag
*
* @property int $id
* @property int $file_id
* @property int $tag_id
* @property Carbon $created_at
* @property Carbon $updated_at
*
* //* @property IQContentFile $i_q_content_file
* @property IQContentTag $i_q_content_tag
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\IQContentFileTag newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\IQContentFileTag newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\IQContentFileTag query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\IQContentFileTag whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\IQContentFileTag whereFileId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\IQContentFileTag whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\IQContentFileTag whereTagId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\IQContentFileTag whereUpdatedAt($value)
* @mixin \Eloquent
*/
class IQContentFileTag extends Model
{
protected $connection = 'mysql_stern';
protected $table = 'i_q_content_file_tags';
protected $casts = [
'file_id' => 'int',
'tag_id' => 'int'
];
protected $fillable = [
'file_id',
'tag_id'
];
/*public function i_q_content_file()
{
return $this->belongsTo(IQContentFile::class, 'file_id');
}*/
public function i_q_content_tag()
{
return $this->belongsTo(IQContentTag::class, 'tag_id');
}
}