Sha256: d97da96fbb0342ca0273bc06051d84949ec355518e4d886a9551823ceb4b0a9c
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
module EducodeSales class Business < ApplicationRecord belongs_to :staff belongs_to :department belongs_to :place, optional: true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
educode_sales-0.1.1 | app/models/educode_sales/business.rb |
educode_sales-0.1.0 | app/models/educode_sales/business.rb |