setName('lohnprofil'); $this->setPhpName('Lohnprofil'); $this->setClassname('Lohnprofil'); $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('PERIODE', 'Periode', 'INTEGER', true, null, null); $this->addColumn('LOHNSTEUER', 'Lohnsteuer', 'BOOLEAN', true, null, null); $this->addColumn('KIRCHENSTEUER_RK', 'KirchensteuerRk', 'BOOLEAN', true, null, null); $this->addColumn('KIRCHENSTEUER_EV', 'KirchensteuerEv', 'BOOLEAN', true, null, null); $this->addColumn('SOLI', 'Soli', 'BOOLEAN', true, null, null); $this->addColumn('RENTENVERSICHERUNG_AN', 'RentenversicherungAn', 'REAL', true, null, null); $this->addColumn('RENTENVERSICHERUNG_AG', 'RentenversicherungAg', 'REAL', true, null, null); $this->addColumn('KRANKENVERSICHERUNG_AN', 'KrankenversicherungAn', 'REAL', true, null, null); $this->addColumn('KRANKENVERSICHERUNG_AG', 'KrankenversicherungAg', 'REAL', true, null, null); $this->addColumn('U1', 'U1', 'REAL', true, null, null); $this->addColumn('U2', 'U2', 'REAL', true, null, null); $this->addColumn('INSO', 'Inso', 'REAL', true, null, null); $this->addColumn('PAUSCHALSTEUER', 'Pauschalsteuer', 'REAL', true, null, null); $this->addColumn('LA_TYP', 'LaTyp', 'INTEGER', true, null, null); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('LA', 'Lohnabrechnung', RelationMap::ONE_TO_MANY, array('id' => 'lp_id', ), null, null); $this->addRelation('MA', 'Mitarbeiter', RelationMap::ONE_TO_MANY, array('id' => 'lp_id', ), null, null); } // buildRelations() } // LohnprofilTableMap