Sha256: 4fbe65fbf6d55934de3321d4e12bf124c5004c69bb00b3c7b6f4c54096f2e0fa

Contents?: true

Size: 280 Bytes

Versions: 37

Compression:

Stored size: 280 Bytes

Contents

module EducodeSales
  class Business < ApplicationRecord
    belongs_to :staff
    belongs_to :department
    belongs_to :last_follow_up, class_name: 'FollowUp', optional: true

    has_many :sale_plans, dependent: :destroy
    has_many :follow_ups, dependent: :destroy
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
educode_sales-0.5.0 app/models/educode_sales/business.rb
educode_sales-0.4.9 app/models/educode_sales/business.rb
educode_sales-0.4.8 app/models/educode_sales/business.rb
educode_sales-0.4.7 app/models/educode_sales/business.rb
educode_sales-0.4.6 app/models/educode_sales/business.rb
educode_sales-0.4.5 app/models/educode_sales/business.rb
educode_sales-0.4.4 app/models/educode_sales/business.rb
educode_sales-0.4.3 app/models/educode_sales/business.rb
educode_sales-0.4.2 app/models/educode_sales/business.rb
educode_sales-0.4.1 app/models/educode_sales/business.rb
educode_sales-0.4.0 app/models/educode_sales/business.rb
educode_sales-0.3.9 app/models/educode_sales/business.rb
educode_sales-0.3.8 app/models/educode_sales/business.rb
educode_sales-0.3.7 app/models/educode_sales/business.rb
educode_sales-0.3.6 app/models/educode_sales/business.rb
educode_sales-0.3.5 app/models/educode_sales/business.rb
educode_sales-0.3.4 app/models/educode_sales/business.rb
educode_sales-0.3.3 app/models/educode_sales/business.rb
educode_sales-0.3.2 app/models/educode_sales/business.rb
educode_sales-0.3.1 app/models/educode_sales/business.rb