ok
Direktori : /home2/selectio/www/3-idiots/app/Model/ |
Current File : //home2/selectio/www/3-idiots/app/Model/WalletTransaction.php |
<?php namespace App\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use App\User; class WalletTransaction extends Model { use HasFactory; protected $casts = [ 'user_id' => 'integer', 'credit' => 'float', 'debit' => 'float', 'admin_bonus'=>'float', 'balance'=>'float', 'reference'=>'string', 'created_at'=>'string' ]; public function user() { return $this->belongsTo(User::class); } }