_init(\Amasty\ElasticSearch\Model\ResourceModel\Synonym::class); $this->setIdFieldName('synonym_id'); } /** * @inheritdoc */ public function getSynonymId() { return $this->_getData(SynonymInterface::SYNONYM_ID); } /** * @inheritdoc */ public function setSynonymId($synonymId) { $this->setData(SynonymInterface::SYNONYM_ID, $synonymId); return $this; } /** * @inheritdoc */ public function getStoreId() { return $this->_getData(SynonymInterface::STORE_ID); } /** * @inheritdoc */ public function setStoreId($storeId) { $this->setData(SynonymInterface::STORE_ID, $storeId); return $this; } /** * @inheritdoc */ public function getTerm() { return $this->_getData(SynonymInterface::TERM); } /** * @inheritdoc */ public function setTerm($term) { $this->setData(SynonymInterface::TERM, $term); return $this; } }