6 * This class defines the structure of the 'medium' table.
10 * This map class is used by Propel to do runtime db structure discovery.
11 * For example, the createSelectSql() method checks the type of a given column used in an
12 * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
13 * (i.e. if it's a text column type).
15 * @package propel.generator.propel.map
17 class MediumTableMap extends TableMap
21 * The (dot-path) name of this class
23 const CLASS_NAME = 'propel.map.MediumTableMap';
26 * Initialize the table attributes, columns and validators
27 * Relations are not initialized by this method since they are lazy loaded
30 * @throws PropelException
32 public function initialize()
35 $this->setName('medium');
36 $this->setPhpName('Medium');
37 $this->setClassname('Medium');
38 $this->setPackage('propel');
39 $this->setUseIdGenerator(true);
40 $this->setSingleTableInheritance(true);
42 $this->addPrimaryKey('id', 'Id', 'INTEGER', true, null, null);
43 $this->addColumn('mod', 'Mod', 'INTEGER', true, null, null);
44 $this->addColumn('autor', 'Autor', 'VARCHAR', true, 100, null);
45 $this->addColumn('titel', 'Titel', 'VARCHAR', true, 100, null);
46 $this->addColumn('eigentumer', 'Eigentumer', 'VARCHAR', true, 100, null);
47 $this->addColumn('zz_bei', 'ZzBei', 'VARCHAR', true, 100, null);
48 $this->addColumn('kommentar', 'Kommentar', 'VARCHAR', true, 100, null);
49 $this->addColumn('class_key', 'ClassKey', 'INTEGER', true, null, null);
54 * Build the RelationMap objects for this table relationships
56 public function buildRelations()