unepwcmc/SAPI

View on GitHub
app/models/designation_geo_entity.rb

Summary

Maintainability
A
0 mins
Test Coverage
# == Schema Information
#
# Table name: designation_geo_entities
#
#  id             :integer          not null, primary key
#  designation_id :integer          not null
#  geo_entity_id  :integer          not null
#  created_at     :datetime         not null
#  updated_at     :datetime         not null
#

class DesignationGeoEntity < ApplicationRecord
  # Relationship table between Designation and GeoEntity.
  # attr_accessible :designation_id, :geo_entity_id
  belongs_to :designation
  belongs_to :geo_entity
end