Sha256: 54e0ba71b2bc2b0a7b95eb519bd4822feb5f8678d6ff064294bce31fff089b29

Contents?: true

Size: 611 Bytes

Versions: 57

Compression:

Stored size: 611 Bytes

Contents

module Ecom
  module Core
    class Project < ApplicationRecord
      belongs_to :employer, class_name: 'Ecom::Core::Stakeholder'
      belongs_to :contractor, class_name: 'Ecom::Core::Stakeholder'
      belongs_to :consultant, class_name: 'Ecom::Core::Stakeholder'
      belongs_to :project_manager, class_name: 'Ecom::Core::Stakeholder'
      belongs_to :task_template
      belongs_to :currency
  
      validates :name, :location, :contract_number, :date_contract_signed, :commencement_date, :completion_date,
                :contract_amount, :advance_payment, :retention, presence: true
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
ecom_core-1.1.10 app/models/ecom/core/project.rb
ecom_core-1.1.9 app/models/ecom/core/project.rb
ecom_core-1.1.8 app/models/ecom/core/project.rb
ecom_core-1.1.7 app/models/ecom/core/project.rb
ecom_core-1.1.6 app/models/ecom/core/project.rb
ecom_core-1.1.5 app/models/ecom/core/project.rb
ecom_core-1.1.4 app/models/ecom/core/project.rb
ecom_core-1.1.3 app/models/ecom/core/project.rb
ecom_core-1.1.2 app/models/ecom/core/project.rb
ecom_core-1.1.1 app/models/ecom/core/project.rb
ecom_core-1.1.0 app/models/ecom/core/project.rb
ecom_core-1.0.25 app/models/ecom/core/project.rb
ecom_core-1.0.24 app/models/ecom/core/project.rb
ecom_core-1.0.23 app/models/ecom/core/project.rb
ecom_core-1.0.22 app/models/ecom/core/project.rb
ecom_core-1.0.21 app/models/ecom/core/project.rb
ecom_core-1.0.20 app/models/ecom/core/project.rb
ecom_core-1.0.19 app/models/ecom/core/project.rb
ecom_core-1.0.18 app/models/ecom/core/project.rb
ecom_core-1.0.17 app/models/ecom/core/project.rb