Sha256: 388e6033ea5e1274c40e1e408210fa25cf31ab3b26a8abbded1ec9cb03310646

Contents?: true

Size: 883 Bytes

Versions: 13

Compression:

Stored size: 883 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# == Schema Information
#
# Table name: contact_opportunities
#
#  id             :integer         not null, primary key
#  contact_id     :integer
#  opportunity_id :integer
#  role           :string(32)
#  deleted_at     :datetime
#  created_at     :datetime
#  updated_at     :datetime
#

class ContactOpportunity < ActiveRecord::Base
  belongs_to :contact
  belongs_to :opportunity
  validates_presence_of :contact_id, :opportunity_id

  # has_paper_trail :class_name => 'Version'

  ActiveSupport.run_load_hooks(:fat_free_crm_contact_opportunity, self)
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/models/entities/contact_opportunity.rb
fat_free_crm-0.22.0 app/models/entities/contact_opportunity.rb
fat_free_crm-0.21.0 app/models/entities/contact_opportunity.rb
fat_free_crm-0.20.1 app/models/entities/contact_opportunity.rb
fat_free_crm-0.20.0 app/models/entities/contact_opportunity.rb
fat_free_crm-0.19.2 app/models/entities/contact_opportunity.rb
fat_free_crm-0.19.0 app/models/entities/contact_opportunity.rb
fat_free_crm-0.18.2 app/models/entities/contact_opportunity.rb
fat_free_crm-0.17.3 app/models/entities/contact_opportunity.rb
fat_free_crm-0.18.1 app/models/entities/contact_opportunity.rb
fat_free_crm-0.18.0 app/models/entities/contact_opportunity.rb
fat_free_crm-0.17.2 app/models/entities/contact_opportunity.rb
fat_free_crm-0.17.1 app/models/entities/contact_opportunity.rb