Initial import
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\models;
|
||||
|
||||
/**
|
||||
* Class OrderModel
|
||||
* @package app\models
|
||||
* @property $id
|
||||
* @property $order_id
|
||||
* @property $name_bg
|
||||
* @property $name_en
|
||||
* @property $text_bg
|
||||
* @property $text_en
|
||||
* @property $price
|
||||
* @property $model_class
|
||||
* @property $model_id
|
||||
* @property \app\models\Order $order
|
||||
*/
|
||||
class OrderProduct extends _Base
|
||||
{
|
||||
public function getOrder() {
|
||||
return $this->hasOne(Order::class, ['id' => 'order_id']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user