You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
392 B
19 lines
392 B
5 years ago
|
<?php
|
||
|
namespace App;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class UserTransaction extends Model
|
||
|
{
|
||
|
public $fillable = ['user_id','transaction_id','action_type','relation_id','relation_type'];
|
||
|
|
||
|
public function gateway_transaction()
|
||
|
{
|
||
|
return $this->belongsTo('App\Transaction','transaction_id','id');
|
||
|
}
|
||
|
|
||
|
public function order()
|
||
|
{
|
||
|
// return $this
|
||
|
}
|
||
|
}
|