Files
pae.co.at/trunk/proactiveenglish/lib/model/map/.svn/text-base/LuEmployeePositionMapBuilder.php.svn-base
2017-03-02 21:57:21 -06:00

40 lines
666 B
Plaintext

<?php
class LuEmployeePositionMapBuilder {
const CLASS_NAME = 'lib.model.map.LuEmployeePositionMapBuilder';
private $dbMap;
public function isBuilt()
{
return ($this->dbMap !== null);
}
public function getDatabaseMap()
{
return $this->dbMap;
}
public function doBuild()
{
$this->dbMap = Propel::getDatabaseMap('propel');
$tMap = $this->dbMap->addTable('LU_Employee_Position');
$tMap->setPhpName('LuEmployeePosition');
$tMap->setUseIdGenerator(true);
$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('POSITION', 'Position', 'string', CreoleTypes::VARCHAR, false, 25);
}
}