'integer', 'credit' => 'float', 'debit' => 'float', 'balance'=>'float', 'reference'=>'string' ]; /** * Get the user that owns the LoyaltyPointTransaction * * @return \App\Models\User */ public function user() { return $this->belongsTo(User::class); } }