Sha256: 91402242b033c623e7b3d234df78a1b5d737d5b2d48f757887e15cd83e0503f4

Contents?: true

Size: 665 Bytes

Versions: 3

Compression:

Stored size: 665 Bytes

Contents

class ManifestationRelationshipType < ApplicationRecord
  include MasterModel
  default_scope { order('manifestation_relationship_types.position') }
  translates :display_name
  has_many :manifestation_relationships
end

# == Schema Information
#
# Table name: manifestation_relationship_types
#
#  id                        :integer          not null, primary key
#  name                      :string           not null
#  display_name              :text
#  note                      :text
#  position                  :integer
#  created_at                :datetime
#  updated_at                :datetime
#  display_name_translations :jsonb            not null
#

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.4.0.rc.1 app/models/manifestation_relationship_type.rb
enju_biblio-0.4.0.beta.2 app/models/manifestation_relationship_type.rb
enju_biblio-0.4.0.beta.1 app/models/manifestation_relationship_type.rb