Initial import
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?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']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user