Build a Criteria object containing the values of all modified columns in this object.

@return Criteria The Criteria object containing all modified values.
765576
public function buildCriteria()
    {
        $criteria = new Criteria(TeamI18nTableMap::DATABASE_NAME);

        if ($this->isColumnModified(TeamI18nTableMap::ID)) $criteria->add(TeamI18nTableMap::ID, $this->id);
        if ($this->isColumnModified(TeamI18nTableMap::LOCALE)) $criteria->add(TeamI18nTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(TeamI18nTableMap::TITLE)) $criteria->add(TeamI18nTableMap::TITLE, $this->title);
        if ($this->isColumnModified(TeamI18nTableMap::DESCRIPTION)) $criteria->add(TeamI18nTableMap::DESCRIPTION, $this->description);

        return $criteria;
    }
908885
public function buildCriteria()
    {
        $criteria = new Criteria(RolePermissionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(RolePermissionTableMap::COL_ROLE_ID)) {
            $criteria->add(RolePermissionTableMap::COL_ROLE_ID, $this->role_id);
        }
        if ($this->isColumnModified(RolePermissionTableMap::COL_PERMISSION_ID)) {
            $criteria->add(RolePermissionTableMap::COL_PERMISSION_ID, $this->permission_id);
        }

        return $criteria;
    }
390400
public function buildCriteria()
    {
        $criteria = new Criteria(CategoryTableMap::DATABASE_NAME);

        if ($this->isColumnModified(CategoryTableMap::COL_ID)) {
            $criteria->add(CategoryTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SOURCE_ID)) {
            $criteria->add(CategoryTableMap::COL_SOURCE_ID, $this->source_id);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_PAGEID)) {
            $criteria->add(CategoryTableMap::COL_PAGEID, $this->pageid);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TITLE)) {
            $criteria->add(CategoryTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_FILES)) {
            $criteria->add(CategoryTableMap::COL_FILES, $this->files);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SUBCATS)) {
            $criteria->add(CategoryTableMap::COL_SUBCATS, $this->subcats);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_PAGES)) {
            $criteria->add(CategoryTableMap::COL_PAGES, $this->pages);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SIZE)) {
            $criteria->add(CategoryTableMap::COL_SIZE, $this->size);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_HIDDEN)) {
            $criteria->add(CategoryTableMap::COL_HIDDEN, $this->hidden);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_CREATED_AT)) {
            $criteria->add(CategoryTableMap::COL_CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_UPDATED_AT)) {
            $criteria->add(CategoryTableMap::COL_UPDATED_AT, $this->updated_at);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_LEFT)) {
            $criteria->add(CategoryTableMap::COL_TREE_LEFT, $this->tree_left);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_RIGHT)) {
            $criteria->add(CategoryTableMap::COL_TREE_RIGHT, $this->tree_right);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_LEVEL)) {
            $criteria->add(CategoryTableMap::COL_TREE_LEVEL, $this->tree_level);
        }

        return $criteria;
    }
1252963
public function buildCriteria()
    {
        $criteria = new Criteria(DealerVersionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerVersionTableMap::ID)) $criteria->add(DealerVersionTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerVersionTableMap::VISIBLE)) $criteria->add(DealerVersionTableMap::VISIBLE, $this->visible);
        if ($this->isColumnModified(DealerVersionTableMap::ADDRESS1)) $criteria->add(DealerVersionTableMap::ADDRESS1, $this->address1);
        if ($this->isColumnModified(DealerVersionTableMap::ADDRESS2)) $criteria->add(DealerVersionTableMap::ADDRESS2, $this->address2);
        if ($this->isColumnModified(DealerVersionTableMap::ADDRESS3)) $criteria->add(DealerVersionTableMap::ADDRESS3, $this->address3);
        if ($this->isColumnModified(DealerVersionTableMap::ZIPCODE)) $criteria->add(DealerVersionTableMap::ZIPCODE, $this->zipcode);
        if ($this->isColumnModified(DealerVersionTableMap::CITY)) $criteria->add(DealerVersionTableMap::CITY, $this->city);
        if ($this->isColumnModified(DealerVersionTableMap::COUNTRY_ID)) $criteria->add(DealerVersionTableMap::COUNTRY_ID, $this->country_id);
        if ($this->isColumnModified(DealerVersionTableMap::LATITUDE)) $criteria->add(DealerVersionTableMap::LATITUDE, $this->latitude);
        if ($this->isColumnModified(DealerVersionTableMap::LONGITUDE)) $criteria->add(DealerVersionTableMap::LONGITUDE, $this->longitude);
        if ($this->isColumnModified(DealerVersionTableMap::CREATED_AT)) $criteria->add(DealerVersionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerVersionTableMap::UPDATED_AT)) $criteria->add(DealerVersionTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerVersionTableMap::VERSION)) $criteria->add(DealerVersionTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerVersionTableMap::VERSION_CREATED_AT)) $criteria->add(DealerVersionTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerVersionTableMap::VERSION_CREATED_BY)) $criteria->add(DealerVersionTableMap::VERSION_CREATED_BY, $this->version_created_by);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_SHEDULES_IDS)) $criteria->add(DealerVersionTableMap::DEALER_SHEDULES_IDS, $this->dealer_shedules_ids);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_SHEDULES_VERSIONS)) $criteria->add(DealerVersionTableMap::DEALER_SHEDULES_VERSIONS, $this->dealer_shedules_versions);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_CONTACT_IDS)) $criteria->add(DealerVersionTableMap::DEALER_CONTACT_IDS, $this->dealer_contact_ids);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_CONTACT_VERSIONS)) $criteria->add(DealerVersionTableMap::DEALER_CONTACT_VERSIONS, $this->dealer_contact_versions);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_CONTENT_IDS)) $criteria->add(DealerVersionTableMap::DEALER_CONTENT_IDS, $this->dealer_content_ids);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_CONTENT_VERSIONS)) $criteria->add(DealerVersionTableMap::DEALER_CONTENT_VERSIONS, $this->dealer_content_versions);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_FOLDER_IDS)) $criteria->add(DealerVersionTableMap::DEALER_FOLDER_IDS, $this->dealer_folder_ids);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_FOLDER_VERSIONS)) $criteria->add(DealerVersionTableMap::DEALER_FOLDER_VERSIONS, $this->dealer_folder_versions);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_BRAND_IDS)) $criteria->add(DealerVersionTableMap::DEALER_BRAND_IDS, $this->dealer_brand_ids);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_BRAND_VERSIONS)) $criteria->add(DealerVersionTableMap::DEALER_BRAND_VERSIONS, $this->dealer_brand_versions);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_PRODUCT_IDS)) $criteria->add(DealerVersionTableMap::DEALER_PRODUCT_IDS, $this->dealer_product_ids);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_PRODUCT_VERSIONS)) $criteria->add(DealerVersionTableMap::DEALER_PRODUCT_VERSIONS, $this->dealer_product_versions);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_ADMIN_IDS)) $criteria->add(DealerVersionTableMap::DEALER_ADMIN_IDS, $this->dealer_admin_ids);
        if ($this->isColumnModified(DealerVersionTableMap::DEALER_ADMIN_VERSIONS)) $criteria->add(DealerVersionTableMap::DEALER_ADMIN_VERSIONS, $this->dealer_admin_versions);

        return $criteria;
    }
532910
public function buildCriteria()
    {
        $criteria = new Criteria(DealerContactTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerContactTableMap::ID)) $criteria->add(DealerContactTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerContactTableMap::DEALER_ID)) $criteria->add(DealerContactTableMap::DEALER_ID, $this->dealer_id);
        if ($this->isColumnModified(DealerContactTableMap::IS_DEFAULT)) $criteria->add(DealerContactTableMap::IS_DEFAULT, $this->is_default);
        if ($this->isColumnModified(DealerContactTableMap::CREATED_AT)) $criteria->add(DealerContactTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerContactTableMap::UPDATED_AT)) $criteria->add(DealerContactTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerContactTableMap::VERSION)) $criteria->add(DealerContactTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerContactTableMap::VERSION_CREATED_AT)) $criteria->add(DealerContactTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerContactTableMap::VERSION_CREATED_BY)) $criteria->add(DealerContactTableMap::VERSION_CREATED_BY, $this->version_created_by);

        return $criteria;
    }
207218
public function buildCriteria()
    {
        $criteria = new Criteria(PictureTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PictureTableMap::COL_ID)) {
            $criteria->add(PictureTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(PictureTableMap::COL_TITLE)) {
            $criteria->add(PictureTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(PictureTableMap::COL_DESCRIPTION)) {
            $criteria->add(PictureTableMap::COL_DESCRIPTION, $this->description);
        }
        if ($this->isColumnModified(PictureTableMap::COL_URL)) {
            $criteria->add(PictureTableMap::COL_URL, $this->url);
        }
        if ($this->isColumnModified(PictureTableMap::COL_THUMB_URL)) {
            $criteria->add(PictureTableMap::COL_THUMB_URL, $this->thumb_url);
        }
        if ($this->isColumnModified(PictureTableMap::COL_SKILL_ID)) {
            $criteria->add(PictureTableMap::COL_SKILL_ID, $this->skill_id);
        }
        if ($this->isColumnModified(PictureTableMap::COL_PHOTOGRAPHER)) {
            $criteria->add(PictureTableMap::COL_PHOTOGRAPHER, $this->photographer);
        }
        if ($this->isColumnModified(PictureTableMap::COL_PHOTOGRAPHER_ID)) {
            $criteria->add(PictureTableMap::COL_PHOTOGRAPHER_ID, $this->photographer_id);
        }
        if ($this->isColumnModified(PictureTableMap::COL_ATHLETE)) {
            $criteria->add(PictureTableMap::COL_ATHLETE, $this->athlete);
        }
        if ($this->isColumnModified(PictureTableMap::COL_ATHLETE_ID)) {
            $criteria->add(PictureTableMap::COL_ATHLETE_ID, $this->athlete_id);
        }
        if ($this->isColumnModified(PictureTableMap::COL_UPLOADER_ID)) {
            $criteria->add(PictureTableMap::COL_UPLOADER_ID, $this->uploader_id);
        }

        return $criteria;
    }
1061349
public function buildCriteria()
    {
        $criteria = new Criteria(PlayerTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PlayerTableMap::COL_ID)) {
            $criteria->add(PlayerTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(PlayerTableMap::COL_LOGIN)) {
            $criteria->add(PlayerTableMap::COL_LOGIN, $this->login);
        }
        if ($this->isColumnModified(PlayerTableMap::COL_NICKNAME)) {
            $criteria->add(PlayerTableMap::COL_NICKNAME, $this->nickname);
        }
        if ($this->isColumnModified(PlayerTableMap::COL_NICKNAME_STRIPPED)) {
            $criteria->add(PlayerTableMap::COL_NICKNAME_STRIPPED, $this->nickname_stripped);
        }
        if ($this->isColumnModified(PlayerTableMap::COL_PATH)) {
            $criteria->add(PlayerTableMap::COL_PATH, $this->path);
        }
        if ($this->isColumnModified(PlayerTableMap::COL_WINS)) {
            $criteria->add(PlayerTableMap::COL_WINS, $this->wins);
        }
        if ($this->isColumnModified(PlayerTableMap::COL_ONLINE_TIME)) {
            $criteria->add(PlayerTableMap::COL_ONLINE_TIME, $this->online_time);
        }
        if ($this->isColumnModified(PlayerTableMap::COL_LAST_ONLINE)) {
            $criteria->add(PlayerTableMap::COL_LAST_ONLINE, $this->last_online);
        }

        return $criteria;
    }
996799
public function buildCriteria()
    {
        $criteria = new Criteria(DealerBrandVersionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerBrandVersionTableMap::ID)) $criteria->add(DealerBrandVersionTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerBrandVersionTableMap::DEALER_ID)) $criteria->add(DealerBrandVersionTableMap::DEALER_ID, $this->dealer_id);
        if ($this->isColumnModified(DealerBrandVersionTableMap::BRAND_ID)) $criteria->add(DealerBrandVersionTableMap::BRAND_ID, $this->brand_id);
        if ($this->isColumnModified(DealerBrandVersionTableMap::CREATED_AT)) $criteria->add(DealerBrandVersionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerBrandVersionTableMap::UPDATED_AT)) $criteria->add(DealerBrandVersionTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerBrandVersionTableMap::VERSION)) $criteria->add(DealerBrandVersionTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerBrandVersionTableMap::VERSION_CREATED_AT)) $criteria->add(DealerBrandVersionTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerBrandVersionTableMap::VERSION_CREATED_BY)) $criteria->add(DealerBrandVersionTableMap::VERSION_CREATED_BY, $this->version_created_by);
        if ($this->isColumnModified(DealerBrandVersionTableMap::DEALER_ID_VERSION)) $criteria->add(DealerBrandVersionTableMap::DEALER_ID_VERSION, $this->dealer_id_version);

        return $criteria;
    }
820240
public function buildCriteria()
    {
        $criteria = new Criteria(KstrukturTableMap::DATABASE_NAME);

        if ($this->isColumnModified(KstrukturTableMap::COL_ID)) {
            $criteria->add(KstrukturTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(KstrukturTableMap::COL_TYPE)) {
            $criteria->add(KstrukturTableMap::COL_TYPE, $this->type);
        }
        if ($this->isColumnModified(KstrukturTableMap::COL_SKILL_ID)) {
            $criteria->add(KstrukturTableMap::COL_SKILL_ID, $this->skill_id);
        }
        if ($this->isColumnModified(KstrukturTableMap::COL_TITLE)) {
            $criteria->add(KstrukturTableMap::COL_TITLE, $this->title);
        }

        return $criteria;
    }
244540
public function buildCriteria()
    {
        $criteria = new Criteria(SkillDependencyTableMap::DATABASE_NAME);

        if ($this->isColumnModified(SkillDependencyTableMap::COL_DEPENDENCY_ID)) {
            $criteria->add(SkillDependencyTableMap::COL_DEPENDENCY_ID, $this->dependency_id);
        }
        if ($this->isColumnModified(SkillDependencyTableMap::COL_PARENT_ID)) {
            $criteria->add(SkillDependencyTableMap::COL_PARENT_ID, $this->parent_id);
        }

        return $criteria;
    }
975507
public function buildCriteria()
    {
        $criteria = new Criteria(DealerContactInfoI18nTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerContactInfoI18nTableMap::ID)) $criteria->add(DealerContactInfoI18nTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerContactInfoI18nTableMap::LOCALE)) $criteria->add(DealerContactInfoI18nTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(DealerContactInfoI18nTableMap::VALUE)) $criteria->add(DealerContactInfoI18nTableMap::VALUE, $this->value);

        return $criteria;
    }
108624
public function buildCriteria()
    {
        $criteria = new Criteria(FeatureTypeAvMetaTableMap::DATABASE_NAME);

        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::ID)) $criteria->add(FeatureTypeAvMetaTableMap::ID, $this->id);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::FEATURE_AV_ID)) $criteria->add(FeatureTypeAvMetaTableMap::FEATURE_AV_ID, $this->feature_av_id);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::FEATURE_FEATURE_TYPE_ID)) $criteria->add(FeatureTypeAvMetaTableMap::FEATURE_FEATURE_TYPE_ID, $this->feature_feature_type_id);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::LOCALE)) $criteria->add(FeatureTypeAvMetaTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::VALUE)) $criteria->add(FeatureTypeAvMetaTableMap::VALUE, $this->value);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::CREATED_AT)) $criteria->add(FeatureTypeAvMetaTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::UPDATED_AT)) $criteria->add(FeatureTypeAvMetaTableMap::UPDATED_AT, $this->updated_at);

        return $criteria;
    }
713762
public function buildCriteria()
    {
        $criteria = new Criteria(AttributeAttributeTypeTableMap::DATABASE_NAME);

        if ($this->isColumnModified(AttributeAttributeTypeTableMap::ID)) $criteria->add(AttributeAttributeTypeTableMap::ID, $this->id);
        if ($this->isColumnModified(AttributeAttributeTypeTableMap::ATTRIBUTE_ID)) $criteria->add(AttributeAttributeTypeTableMap::ATTRIBUTE_ID, $this->attribute_id);
        if ($this->isColumnModified(AttributeAttributeTypeTableMap::ATTRIBUTE_TYPE_ID)) $criteria->add(AttributeAttributeTypeTableMap::ATTRIBUTE_TYPE_ID, $this->attribute_type_id);

        return $criteria;
    }
377428
public function buildCriteria()
    {
        $criteria = new Criteria(DealerContactInfoTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerContactInfoTableMap::ID)) $criteria->add(DealerContactInfoTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerContactInfoTableMap::CONTACT_ID)) $criteria->add(DealerContactInfoTableMap::CONTACT_ID, $this->contact_id);
        if ($this->isColumnModified(DealerContactInfoTableMap::CONTACT_TYPE)) $criteria->add(DealerContactInfoTableMap::CONTACT_TYPE, $this->contact_type);
        if ($this->isColumnModified(DealerContactInfoTableMap::CREATED_AT)) $criteria->add(DealerContactInfoTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerContactInfoTableMap::UPDATED_AT)) $criteria->add(DealerContactInfoTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerContactInfoTableMap::VERSION)) $criteria->add(DealerContactInfoTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerContactInfoTableMap::VERSION_CREATED_AT)) $criteria->add(DealerContactInfoTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerContactInfoTableMap::VERSION_CREATED_BY)) $criteria->add(DealerContactInfoTableMap::VERSION_CREATED_BY, $this->version_created_by);

        return $criteria;
    }
183862
public function buildCriteria()
    {
        $criteria = new Criteria(PersonFunctionVersionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PersonFunctionVersionTableMap::ID)) $criteria->add(PersonFunctionVersionTableMap::ID, $this->id);
        if ($this->isColumnModified(PersonFunctionVersionTableMap::CODE)) $criteria->add(PersonFunctionVersionTableMap::CODE, $this->code);
        if ($this->isColumnModified(PersonFunctionVersionTableMap::CREATED_AT)) $criteria->add(PersonFunctionVersionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(PersonFunctionVersionTableMap::UPDATED_AT)) $criteria->add(PersonFunctionVersionTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(PersonFunctionVersionTableMap::VERSION)) $criteria->add(PersonFunctionVersionTableMap::VERSION, $this->version);
        if ($this->isColumnModified(PersonFunctionVersionTableMap::VERSION_CREATED_AT)) $criteria->add(PersonFunctionVersionTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(PersonFunctionVersionTableMap::VERSION_CREATED_BY)) $criteria->add(PersonFunctionVersionTableMap::VERSION_CREATED_BY, $this->version_created_by);
        if ($this->isColumnModified(PersonFunctionVersionTableMap::PERSON_FUNCTION_LINK_IDS)) $criteria->add(PersonFunctionVersionTableMap::PERSON_FUNCTION_LINK_IDS, $this->person_function_link_ids);
        if ($this->isColumnModified(PersonFunctionVersionTableMap::PERSON_FUNCTION_LINK_VERSIONS)) $criteria->add(PersonFunctionVersionTableMap::PERSON_FUNCTION_LINK_VERSIONS, $this->person_function_link_versions);

        return $criteria;
    }
287391
public function buildCriteria()
    {
        $criteria = new Criteria(DealerShedulesTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerShedulesTableMap::ID)) $criteria->add(DealerShedulesTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerShedulesTableMap::DEALER_ID)) $criteria->add(DealerShedulesTableMap::DEALER_ID, $this->dealer_id);
        if ($this->isColumnModified(DealerShedulesTableMap::DAY)) $criteria->add(DealerShedulesTableMap::DAY, $this->day);
        if ($this->isColumnModified(DealerShedulesTableMap::BEGIN)) $criteria->add(DealerShedulesTableMap::BEGIN, $this->begin);
        if ($this->isColumnModified(DealerShedulesTableMap::END)) $criteria->add(DealerShedulesTableMap::END, $this->end);
        if ($this->isColumnModified(DealerShedulesTableMap::CLOSED)) $criteria->add(DealerShedulesTableMap::CLOSED, $this->closed);
        if ($this->isColumnModified(DealerShedulesTableMap::PERIOD_BEGIN)) $criteria->add(DealerShedulesTableMap::PERIOD_BEGIN, $this->period_begin);
        if ($this->isColumnModified(DealerShedulesTableMap::PERIOD_END)) $criteria->add(DealerShedulesTableMap::PERIOD_END, $this->period_end);
        if ($this->isColumnModified(DealerShedulesTableMap::CREATED_AT)) $criteria->add(DealerShedulesTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerShedulesTableMap::UPDATED_AT)) $criteria->add(DealerShedulesTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerShedulesTableMap::VERSION)) $criteria->add(DealerShedulesTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerShedulesTableMap::VERSION_CREATED_AT)) $criteria->add(DealerShedulesTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerShedulesTableMap::VERSION_CREATED_BY)) $criteria->add(DealerShedulesTableMap::VERSION_CREATED_BY, $this->version_created_by);

        return $criteria;
    }
297559
public function buildCriteria()
    {
        $criteria = new Criteria(TeamTableMap::DATABASE_NAME);

        if ($this->isColumnModified(TeamTableMap::ID)) $criteria->add(TeamTableMap::ID, $this->id);
        if ($this->isColumnModified(TeamTableMap::CREATED_AT)) $criteria->add(TeamTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(TeamTableMap::UPDATED_AT)) $criteria->add(TeamTableMap::UPDATED_AT, $this->updated_at);

        return $criteria;
    }