|
@@ -12,14 +12,16 @@ class FinancialTransaction extends BaseModel
|
|
|
|
|
|
protected $table = 'financial_transaction';
|
|
|
|
|
|
- public function user(){
|
|
|
+ public function user()
|
|
|
+ {
|
|
|
return $this->hasOne(User::class, 'id', 'user_id');
|
|
|
}
|
|
|
- public function paymentMethod(){
|
|
|
+ public function paymentMethod()
|
|
|
+ {
|
|
|
return $this->hasOne(PaymentMethod::class, 'id', 'payment_method_id');
|
|
|
}
|
|
|
- public function storeOrder(){
|
|
|
+ public function storeOrder()
|
|
|
+ {
|
|
|
return $this->hasOne(StoreOrder::class, 'id', 'order_id');
|
|
|
}
|
|
|
-
|
|
|
}
|