unepwcmc/SAPI

View on GitHub
app/models/m_cms_listing_change.rb

Summary

Maintainability
A
0 mins
Test Coverage
# == Schema Information
#
# Table name: cms_listing_changes_mview
#
#  taxon_concept_id           :integer
#  id                         :integer          primary key
#  original_taxon_concept_id  :integer
#  effective_at               :datetime
#  species_listing_id         :integer
#  species_listing_name       :string(255)
#  change_type_id             :integer
#  change_type_name           :string(255)
#  designation_id             :integer
#  designation_name           :string(255)
#  parent_id                  :integer
#  nomenclature_note_en       :text
#  nomenclature_note_fr       :text
#  nomenclature_note_es       :text
#  party_id                   :integer
#  party_iso_code             :string(255)
#  party_full_name_en         :string(255)
#  party_full_name_es         :string(255)
#  party_full_name_fr         :string(255)
#  ann_symbol                 :string(255)
#  full_note_en               :text
#  full_note_es               :text
#  full_note_fr               :text
#  short_note_en              :text
#  short_note_es              :text
#  short_note_fr              :text
#  display_in_index           :boolean
#  display_in_footnote        :boolean
#  hash_ann_symbol            :string(255)
#  hash_ann_parent_symbol     :string(255)
#  hash_full_note_en          :text
#  hash_full_note_es          :text
#  hash_full_note_fr          :text
#  inclusion_taxon_concept_id :integer
#  inherited_short_note_en    :text
#  inherited_full_note_en     :text
#  inherited_short_note_es    :text
#  inherited_full_note_es     :text
#  inherited_short_note_fr    :text
#  inherited_full_note_fr     :text
#  auto_note_en               :text
#  auto_note_es               :text
#  auto_note_fr               :text
#  is_current                 :boolean
#  explicit_change            :boolean
#  updated_at                 :datetime
#  show_in_history            :boolean
#  show_in_downloads          :boolean
#  show_in_timeline           :boolean
#  listed_geo_entities_ids    :string
#  excluded_geo_entities_ids  :string
#  excluded_taxon_concept_ids :string
#  dirty                      :boolean
#  expiry                     :datetime
#  event_id                   :integer
#  geo_entity_type            :string(255)
#

class MCmsListingChange < ApplicationRecord
  self.table_name = :cms_listing_changes_mview
  self.primary_key = :id
  include MListingChange
end