<?php /** * Skeleton subclass for representing a row from the 'lohnprofil' table. * * * * You should add additional methods to this class to meet the * application requirements. This class will only be generated as * long as it does not already exist in the output directory. * * @package propel.generator.propel */ class Lohnprofil extends BaseLohnprofil { public function getLaTyp(){ return new LATyp($this->la_typ); } public function setLATyp(LATyp $value) { parent::setLATyp($value->getValue()); } public function getPeriode(){ return new Periode($this->periode); } public function setPeriode(Periode $value) { parent::setPeriode($value->getValue()); } public function save(PropelPDO $con = null) { if ($this->isNew() || $this->mod >= 999999) { $this->setMod(0); } else { $this->setMod($this->mod + 1); } return parent::save($con); } } // Lohnprofil