first commit
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
Kevin Adametz 2025-10-20 17:53:02 +02:00
commit 405df0a122
3083 changed files with 69203 additions and 0 deletions

View file

@ -0,0 +1,45 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class PaymentOptionReference
*
* @property int $parent_payment_option_id
* @property int $child_payment_option_id
* @property PaymentOption $payment_option
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|PaymentOptionReference newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|PaymentOptionReference newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|PaymentOptionReference query()
* @method static \Illuminate\Database\Eloquent\Builder|PaymentOptionReference whereChildPaymentOptionId($value)
* @method static \Illuminate\Database\Eloquent\Builder|PaymentOptionReference whereParentPaymentOptionId($value)
* @mixin \Eloquent
*/
class PaymentOptionReference extends Model
{
protected $table = 'payment_option_reference';
public $incrementing = false;
public $timestamps = false;
protected $casts = [
'parent_payment_option_id' => 'int',
'child_payment_option_id' => 'int'
];
protected $fillable = [
'parent_payment_option_id',
'child_payment_option_id'
];
public function payment_option()
{
return $this->belongsTo(PaymentOption::class, 'parent_payment_option_id');
}
}