public function __sleep()
{
$exprops = array();
$cn = 'TResultProperty';
if ($this->_nullValue === null) {
$exprops[] = "{$cn}_nullValue";
}
if ($this->_propertyName === null) {
$exprops[] = "{$cn}_propertyNama";
}
if ($this->_columnName === null) {
$exprops[] = "{$cn}_columnName";
}
if ($this->_columnIndex == -1) {
$exprops[] = "{$cn}_columnIndex";
}
if ($this->_nestedResultMapName === null) {
$exprops[] = "{$cn}_nestedResultMapName";
}
if ($this->_nestedResultMap === null) {
$exprops[] = "{$cn}_nestedResultMap";
}
if ($this->_valueType === null) {
$exprops[] = "{$cn}_valueType";
}
if ($this->_typeHandler === null) {
$exprops[] = "{$cn}_typeHandler";
}
if ($this->_isLazyLoad === false) {
$exprops[] = "{$cn}_isLazyLoad";
}
if ($this->_select === null) {
$exprops[] = "{$cn}_select";
}
return array_diff(parent::__sleep(), $exprops);
}