public function setLastname($lastname)
    {
        $lastname = ($lastname === null ? $lastname : (string) $lastname);

        if ($this->exists() && $this->lastname !== $lastname) {
            $this->updated['lastname'] = true;
        }

        $this->lastname = $lastname;

        return $this;
    }
public function setLastname($lastname)
    {
        $lastname = ($lastname === null ? $lastname : (string) $lastname);

        if ($this->exists() && $this->lastname !== $lastname) {
            $this->updated['lastname'] = true;
        }

        $this->lastname = $lastname;

        return $this;
    }
public function setLastname ( $ lastname ) { $ lastname = ( $ lastname === null ? $ lastname : ( string ) $ lastname ) ; if ( $ this -> exists ( ) && $ this -> lastname !== $ lastname ) { $ this -> updated [ 'lastname' ] = true ; } $ this -> lastname = $ lastname ; return $ this ; }
Set value for field "user_lastname"

@param  string $lastname
@return $this
Set value for field user_lastname