12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
48
dev/_old/Models/UserPaymentOptionReference.php
Normal file
48
dev/_old/Models/UserPaymentOptionReference.php
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class UserPaymentOptionReference
|
||||
*
|
||||
* @property int $parent_user_payment_option_id
|
||||
* @property int $child_user_payment_option_id
|
||||
* @property UserPaymentOption $user_payment_option
|
||||
*
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionReference newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionReference newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionReference query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionReference whereChildUserPaymentOptionId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|UserPaymentOptionReference whereParentUserPaymentOptionId($value)
|
||||
*
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class UserPaymentOptionReference extends Model
|
||||
{
|
||||
protected $table = 'user_payment_option_reference';
|
||||
|
||||
public $incrementing = false;
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $casts = [
|
||||
'parent_user_payment_option_id' => 'int',
|
||||
'child_user_payment_option_id' => 'int',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'parent_user_payment_option_id',
|
||||
'child_user_payment_option_id',
|
||||
];
|
||||
|
||||
public function user_payment_option()
|
||||
{
|
||||
return $this->belongsTo(UserPaymentOption::class, 'parent_user_payment_option_id');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue