Set the value of [lastname] column.

@param  string $v new value
@return User The current object (for fluent API support)
359095
public function setLastname($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->lastname !== $v) {
            $this->lastname = $v;
            $this->modifiedColumns[] = UserPeer::LASTNAME;
        }


        return $this;
    }
743915
public function setPersonId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->person_id !== $v) {
            $this->person_id = $v;
            $this->modifiedColumns[PersonImageTableMap::PERSON_ID] = true;
        }

        if ($this->aPerson !== null && $this->aPerson->getId() !== $v) {
            $this->aPerson = null;
        }


        return $this;
    }
291324
public function setPosition($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->position !== $v) {
            $this->position = $v;
            $this->modifiedColumns[PersonImageVersionTableMap::POSITION] = true;
        }


        return $this;
    }
1223088
public function setChapo($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->chapo !== $v) {
            $this->chapo = $v;
            $this->modifiedColumns[PersonImageI18nTableMap::CHAPO] = true;
        }


        return $this;
    }
163732
public function setType($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->type !== $v) {
            $this->type = $v;
            $this->modifiedColumns[] = RemoteAppPeer::TYPE;
        }


        return $this;
    }
362830
public function setAccess($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->access !== $v) {
            $this->access = $v;
            $this->modifiedColumns[DealerI18nTableMap::ACCESS] = true;
        }


        return $this;
    }
1258125
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[FeatureTypeI18nTableMap::ID] = true;
        }

        if ($this->aFeatureType !== null && $this->aFeatureType->getId() !== $v) {
            $this->aFeatureType = null;
        }


        return $this;
    }
160617
public function setAuthor($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->author !== $v) {
            $this->author = $v;
            $this->modifiedColumns[ReferenceTableMap::COL_AUTHOR] = true;
        }

        return $this;
    }
1072421
public function setPhone($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->phone !== $v) {
            $this->phone = $v;
            $this->modifiedColumns[] = UserPeer::PHONE;
        }


        return $this;
    }
1110335
public function setFirstName($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->first_name !== $v) {
            $this->first_name = $v;
            $this->modifiedColumns[UserTableMap::COL_FIRST_NAME] = true;
        }

        return $this;
    }
817086
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[DealerVersionTableMap::ID] = true;
        }

        if ($this->aDealer !== null && $this->aDealer->getId() !== $v) {
            $this->aDealer = null;
        }


        return $this;
    }
747356
public function setPersonId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->person_id !== $v) {
            $this->person_id = $v;
            $this->modifiedColumns[PersonFunctionLinkVersionTableMap::PERSON_ID] = true;
        }


        return $this;
    }
232690
public function setFilename($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->filename !== $v) {
            $this->filename = $v;
            $this->modifiedColumns[MapTableMap::COL_FILENAME] = true;
        }

        return $this;
    }
124044
public function setSalt($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->salt !== $v) {
            $this->salt = $v;
            $this->modifiedColumns[] = UserPeer::SALT;
        }


        return $this;
    }
1095639
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[UserTableMap::COL_ID] = true;
        }

        return $this;
    }
1017414
public function setReplaywrusername($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->replaywrusername !== $v) {
            $this->replaywrusername = $v;
            $this->modifiedColumns[MxmapTableMap::COL_REPLAYWRUSERNAME] = true;
        }

        return $this;
    }
24304
public function setLastLogin($v)
    {
        $dt = PropelDateTime::newInstance($v, null, 'DateTime');
        if ($this->last_login !== null || $dt !== null) {
            $currentDateAsString = ($this->last_login !== null && $tmpDt = new DateTime($this->last_login)) ? $tmpDt->format('Y-m-d H:i:s') : null;
            $newDateAsString = $dt ? $dt->format('Y-m-d H:i:s') : null;
            if ($currentDateAsString !== $newDateAsString) {
                $this->last_login = $newDateAsString;
                $this->modifiedColumns[] = UserPeer::LAST_LOGIN;
            }
        } // if either are not null


        return $this;
    }