<?php
 namespace App\ReportsData\Populate\Entity; class MiceProjectType extends \App\ReportsData\Populate\GeneralAbstract { protected function getDbTableName() { global $DBTRd_miceProjectTypes; return $DBTRd_miceProjectTypes; } protected function getEntityFields() { $entity = \Entity\MiceProjectType::select($this->id); if (!$entity->recordExists()) { return null; } $return = [ 'id' => $this->id, 'deleted' => $entity->deleted, 'name' => $entity->name, ]; return $return; } } 