25 lines
449 B
PHP
25 lines
449 B
PHP
<?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']);
|
|
}
|
|
}
|