Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
o5t6x7pgljbm
/
public_html
/
app
/
Models
/
Filename :
SPWalletTransaction.php
back
Copy
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; /** * must be accessed and saved inside "SPWalletController" only. */ class SPWalletTransaction extends Model { use SoftDeletes; protected $table = 'sp_wallet_transactions'; protected $primaryKey = 'sp_wallet_transaction_id'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'sp_wallet_id', 'transaction_id', 'transaction_title', 'transaction_type', 'ref_table', 'ref_table_id', 'sp', 'sp_credit', 'sp_debit', 'balance', 'entry_date_time', 'description', 'created_at', 'updated_at', 'deleted_at' ]; /** * The attributes that should be hidden for arrays. * * @var array */ protected $hidden = [ 'deleted_at' ]; }