12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
|
|
@ -1,45 +0,0 @@
|
|||
<?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');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue