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