����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.218.131.147 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/bofirmacademy.com/app/Models/ |
Upload File : |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; class Beneficiary extends Model { protected $fillable = [ 'uuid', 'user_id', 'beneficiary_name', 'type', 'card_number', 'card_holder_name', 'expire_month', 'expire_year', 'bank_name', 'bank_account_number', 'bank_account_name', 'bank_routing_number', 'paypal_email', 'status', ]; protected static function booted() { self::creating(function ($model){ $authUser = auth()->user(); $model->uuid = Str::uuid()->toString(); $model->user_id = $authUser->id; }); } }