first commit
This commit is contained in:
commit
405df0a122
3083 changed files with 69203 additions and 0 deletions
45
dev/Models/UserPaymentOptionReference.php
Normal file
45
dev/Models/UserPaymentOptionReference.php
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<?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
|
||||
* @package App\Models
|
||||
* @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