Current File : /home/itiffy/public_html/app/Transaction.php |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Laraveldaily\Quickadmin\Observers\UserActionsObserver;
use Illuminate\Database\Eloquent\SoftDeletes;
class Transaction extends Model {
use SoftDeletes;
/**
* The attributes that should be mutated to dates.
*
* @var array
*/
protected $dates = ['deleted_at'];
protected $table = 'transactions';
protected $fillable = [
'transaction_id',
'order_number',
'currency_code',
'price',
'name',
'address',
'city',
'state',
'zip_code',
'country',
'email',
'phone_number',
'gateway',
'hires_for',
'hires_hour_or_month',
'how_many_hour_or_month',
'payment_type'
];
/*public static function boot()
{
parent::boot();
ContactFormDb::observe(new UserActionsObserver);
}*/
}