class Fichas::Relecorregionhabitat < Ficha

	self.table_name = "#{CONFIG.bases.fichasespecies}.relecorregionhabitat"
	self.primary_keys = :habitatId,  :ecorregionId

	belongs_to :ecorregion, :class_name => 'Fichas::Ficha_Ecorregion', :foreign_key => 'ecorregionId'
	belongs_to :habitat, :class_name => 'Fichas::Habitat', :foreign_key => 'habitatId'

end
