presseportale/dev/archive/_old/Models/UserBillingAddress.php
Kevin Adametz 6a4c4d8837 docs: dev-Doku für den Live-Betrieb neu sortiert — Archiv + Betrieb + Roadmap
Das System ist seit 20.07.2026 live; die dev-Doku spiegelt jetzt den
Betriebszustand statt der Release-Vorbereitung:

- dev/betrieb/: Deploy-Runbook (neu: §10 Betrieb nach Go-Live mit
  SFTP-Deploy-Checkliste inkl. queue:restart-Pflicht und den
  Betriebs-Erkenntnissen der Go-Live-Woche), Legacy-API-Parität, Umami.
- dev/roadmap.md: offene Nachlauf-Punkte (Go-Live-Mails, Merge nach main,
  Stripe-Test-Artefakte, Key-Rotation, Alt-System-Abschaltung) und
  Ideen-Backlog.
- dev/archive/: abgeschlossene Phasen — Migration-2026-Planung,
  Cutover-Runbook (mit Erledigt-Vermerk), Release-Plan/QA-Checkliste,
  Optimierungsphasen, Frontend-Konzepte + Responsive-Audits vom 16.07.,
  Altsystem-Reste.
- dev/README.md als Wegweiser; gitignore-Pfad der SQL-Dumps mitgezogen
  (dev/archive/migration-2026/sql/ bleibt untracked, ebenso dev/migration/
  und dev/api/).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 07:52:38 +00:00

91 lines
3.1 KiB
PHP

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class UserBillingAddress
*
* @property int $id
* @property int $user_id
* @property int|null $salutation_id
* @property string|null $title
* @property string $name
* @property string|null $address
* @property string|null $address1
* @property string|null $address2
* @property string|null $postal_code
* @property string|null $city
* @property int|null $country_id
* @property string|null $country_name
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
* @property Country|null $country
* @property Salutation|null $salutation
* @property SfGuardUser $sf_guard_user
*
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress query()
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereAddress1($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereAddress2($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereCity($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereCountryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereCountryName($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress wherePostalCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereSalutationId($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserBillingAddress whereUserId($value)
*
* @mixin \Eloquent
*/
class UserBillingAddress extends Model
{
protected $table = 'user_billing_address';
protected $casts = [
'user_id' => 'int',
'salutation_id' => 'int',
'country_id' => 'int',
];
protected $fillable = [
'user_id',
'salutation_id',
'title',
'name',
'address',
'address1',
'address2',
'postal_code',
'city',
'country_id',
'country_name',
];
public function country()
{
return $this->belongsTo(Country::class);
}
public function salutation()
{
return $this->belongsTo(Salutation::class);
}
public function sf_guard_user()
{
return $this->belongsTo(SfGuardUser::class, 'user_id');
}
}