28 lines
488 B
PHP
28 lines
488 B
PHP
<?php
|
|
|
|
namespace app\models;
|
|
|
|
use app\models\parsed\CartInterface;
|
|
use app\models\parsed\CartModel;
|
|
use app\services\Cart;
|
|
|
|
/**
|
|
* Class PriceObject
|
|
* @package app\models
|
|
* @property $id
|
|
* @property $text_bg
|
|
* @property $text_en
|
|
* @property $price
|
|
* @property $event_id
|
|
* @property $cartKey
|
|
* @property \app\models\Events $event
|
|
*/
|
|
class PriceObject extends _Base
|
|
{
|
|
|
|
public function getEvent()
|
|
{
|
|
return $this->hasOne(Events::class, ['id' => 'event_id']);
|
|
}
|
|
}
|