/** * @inheritdoc */ public function getServices() { return $this->hasMany(oPrice::className(), 'services'); }
public function getPrices() { return $this->embeddedMany(oPrice::className(), 'prices'); }