<?php
 namespace App\EntityMatch; class ImportedDocumentsSystem extends \App\EntityMatch\BaseAbstract { protected $exportFields = ['code', 'name']; protected $entityClassName = '\Entity\ImportedDocumentsSystem'; protected function setTableName() { global $DBTImportedDocuments_systems; $this->tableName = $DBTImportedDocuments_systems; } public function setCode($code) { $this->setSearchCriterion('code', $code, false); } public function setName($name) { $this->setSearchCriterion('name', $name, true); } } 