setName('attr_dscr'); $this->setPhpName('AttributeDescriptor'); $this->setClassname('AttributeDescriptor'); $this->setPackage('propel'); $this->setUseIdGenerator(true); // columns $this->addPrimaryKey('ID', 'Id', 'INTEGER', true, null, null); $this->addColumn('MOD', 'Mod', 'INTEGER', true, null, null); $this->addColumn('INTERN', 'Intern', 'VARCHAR', true, 255, null); $this->addColumn('EXTERN', 'Extern', 'VARCHAR', true, 255, null); $this->addForeignKey('MOCD_ID', 'MocdId', 'INTEGER', 'moc_dscr', 'ID', true, null, null); $this->addColumn('PROPS', 'Props', 'INTEGER', true, null, null); $this->addColumn('REL_MOC', 'RelMoc', 'VARCHAR', false, 255, null); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('ManagedObjectClassDescriptor', 'ManagedObjectClassDescriptor', RelationMap::MANY_TO_ONE, array('mocd_id' => 'id', ), null, null); } // buildRelations() } // AttributeDescriptorTableMap