public function getTeams()
{
if (empty($this->_teams)) {
$team = new Team();
$farmTeam = new FarmTeam();
$this->_teams = Team::find([AbstractEntity::STMT_FROM => " {$team->table()}\n JOIN {$farmTeam->table('ft')} ON {$farmTeam->columnTeamId('ft')} = {$team->columnId()}\n AND {$farmTeam->columnFarmId('ft')} = " . $farmTeam->qstr('farmId', $this->id) . "\n "]);
}
return $this->_teams;
}