
function SearchFormVO(
		localeMarketId,
		localeUfId,
	    localeCityId,
	    localeZoneId,
	    guideId, 
	    termoId, 
	    company, 
	    termoIdGhost, 
	    companyGhost, 
	    activitySourceComponent, 
	    activitySourcePage, 
	    keywordComplet,
	    sourceResult
	)
{    
	this.localeMarketId = localeMarketId;
	this.localeUfId = localeUfId;
    this.localeCityId = localeCityId;
    this.localeZoneId = localeZoneId;
    this.guideId = guideId;

    this.termoId = termoId;
    this.company = company;
    this.termoIdGhost = termoIdGhost;
    this.companyGhost = companyGhost;
    this.activitySourceComponent = activitySourceComponent;
    this.activitySourcePage = activitySourcePage;
    this.keywordComplet = keywordComplet;
    this.sourceResult = sourceResult;

	//SearchAdvertisesRestaurantForm
	this.restaurantId = '';
	this.kitchenId = '';

	/*
	* Seta os valores de filtros para restaurants
	*/
	function setRestaurantFilters(restaurantId, kitchenId) {
		this.restaurantId = restaurantId;
		this.kitchenId = kitchenId;
	}
	
	function reset() {
		this.localeMarketId = null;
		this.localeUfId = null;
	    this.localeCityId = null;
	    this.localeZoneId = null;
	    this.guideId = null;

		this.termoId = null;
		this.company = null;
		this.termoIdGhost = null;
		this.companyGhost = null;
		this.activitySourceComponent = null;
		this.activitySourcePage = null;
		this.keywordComplet = null;
		this.sourceResult = null;

		this.restaurantId = null;
		this.kitchenId = null;
	}
	
	function toString() {
		var str = '';
		str += 'localeMarketId: ' + this.localeMarketId + '\n';
		str += 'localeUfId: ' + this.localeUfId + '\n';
		str += 'localeCityId: ' + this.localeCityId + '\n';
		str += 'localeZoneId: ' + this.localeZoneId + '\n';
		str += 'guideId: ' + this.guideId + '\n';

		str += 'termoId: ' + this.termoId + '\n';
		str += 'company: ' + this.company + '\n';
		str += 'termoIdGhost: ' + this.termoIdGhost + '\n';
		str += 'companyGhost: ' + this.companyGhost + '\n';
		str += 'activitySourceComponent: ' + this.activitySourceComponent + '\n';
		str += 'activitySourcePage: ' + this.activitySourcePage + '\n';
		str += 'keywordComplet: ' + this.keywordComplet + '\n';
		str += 'sourceResult: ' + this.sourceResult + '\n';

		str += 'restaurantId: ' + this.restaurantId + '\n';
		str += 'kitchenId: ' + this.kitchenId + '\n';

		return str;
	}

	this.setRestaurantFilters = setRestaurantFilters;
	this.reset = reset;
	this.toString = toString;
} 
