Sha256: d78ff4eb384f17330213d84d2aeef9a1760dfa9b470e811c1d8927abef7d10ba

Contents?: true

Size: 582 Bytes

Versions: 3

Compression:

Stored size: 582 Bytes

Contents

class AgentType < ApplicationRecord
  include MasterModel
  default_scope { order('agent_types.position') }
  translates :display_name
  has_many :agents
end

# == Schema Information
#
# Table name: agent_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/agent_type.rb
enju_biblio-0.4.0.beta.2 app/models/agent_type.rb
enju_biblio-0.4.0.beta.1 app/models/agent_type.rb