setName('mitarbeiter'); $this->setPhpName('Mitarbeiter'); $this->setClassname('Mitarbeiter'); $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('NAME', 'Name', 'VARCHAR', true, 255, null); $this->addColumn('VORNAME', 'Vorname', 'VARCHAR', true, 255, null); $this->addColumn('ANREDE', 'Anrede', 'CHAR', true, 4, null); $this->addColumn('STRASSE', 'Strasse', 'VARCHAR', true, 255, null); $this->addColumn('PLZ', 'Plz', 'CHAR', true, 5, null); $this->addColumn('ORT', 'Ort', 'VARCHAR', true, 255, null); $this->addColumn('KONTONUMMER', 'Kontonummer', 'VARCHAR', true, 30, null); $this->addColumn('BLZ', 'Blz', 'CHAR', true, 10, null); $this->addColumn('BANK', 'Bank', 'VARCHAR', true, 255, null); $this->addColumn('EMAIL', 'Email', 'VARCHAR', true, 255, null); $this->addColumn('BASIS_BETRAG', 'BasisBetrag', 'NUMERIC', true, 10, null); $this->addColumn('PERIODE', 'Periode', 'INTEGER', true, null, null); $this->addColumn('STEUERMERKMAL', 'Steuermerkmal', 'VARCHAR', true, 30, null); $this->addColumn('AKTIV', 'Aktiv', 'BOOLEAN', true, null, null); $this->addForeignKey('LP_ID', 'LpId', 'INTEGER', 'lohnprofil', 'ID', true, null, null); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('Lohnprofil', 'Lohnprofil', RelationMap::MANY_TO_ONE, array('lp_id' => 'id', ), null, null); $this->addRelation('LA', 'Lohnabrechnung', RelationMap::ONE_TO_MANY, array('id' => 'ma_id', ), null, null); } // buildRelations() } // MitarbeiterTableMap