Initial import
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\models;
|
||||
|
||||
/**
|
||||
* Class OrderPayment
|
||||
* @package app\models
|
||||
* @property $id
|
||||
* @property $order_id
|
||||
* @property $payment_method
|
||||
* @property $client_email
|
||||
* @property $amount
|
||||
* @property $status
|
||||
* @property $response_message
|
||||
* @property $response_time
|
||||
* @property Order $order
|
||||
*/
|
||||
class OrderPayment extends _Base
|
||||
{
|
||||
public function getOrder() {
|
||||
return $this->hasOne(Order::class, ['id' => 'order_id']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user