Sha256: 81e2c7277c0f25a74d5cc9bc33e80e9718a1ce10875baeb8b9536ca7373d7f5b

Contents?: true

Size: 503 Bytes

Versions: 70

Compression:

Stored size: 503 Bytes

Contents

module Ecom
  module Core
    class WorkComponent < ApplicationRecord
      belongs_to :performer, class_name: 'Ecom::Core::User'
      belongs_to :approver, class_name: 'Ecom::Core::User'
      belongs_to :supervisor, class_name: 'Ecom::Core::User'
      belongs_to :quality_controller, class_name: 'Ecom::Core::User'
      belongs_to :work_component_template
      belongs_to :work_product

      validates :name, :assignment_status, :task_status, :percent_completed, presence: true
    end
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
ecom_core-1.2.15 app/models/ecom/core/work_component.rb
ecom_core-1.2.14 app/models/ecom/core/work_component.rb
ecom_core-1.2.13 app/models/ecom/core/work_component.rb
ecom_core-1.2.12 app/models/ecom/core/work_component.rb
ecom_core-1.2.11 app/models/ecom/core/work_component.rb
ecom_core-1.2.10 app/models/ecom/core/work_component.rb
ecom_core-1.2.9 app/models/ecom/core/work_component.rb
ecom_core-1.2.7 app/models/ecom/core/work_component.rb
ecom_core-1.2.6 app/models/ecom/core/work_component.rb
ecom_core-1.2.5 app/models/ecom/core/work_component.rb
ecom_core-1.2.4 app/models/ecom/core/work_component.rb
ecom_core-1.2.3 app/models/ecom/core/work_component.rb
ecom_core-1.2.2 app/models/ecom/core/work_component.rb
ecom_core-1.2.1 app/models/ecom/core/work_component.rb
ecom_core-1.2.0 app/models/ecom/core/work_component.rb
ecom_core-1.1.28 app/models/ecom/core/work_component.rb
ecom_core-1.1.27 app/models/ecom/core/work_component.rb
ecom_core-1.1.26 app/models/ecom/core/work_component.rb
ecom_core-1.1.25 app/models/ecom/core/work_component.rb
ecom_core-1.1.24 app/models/ecom/core/work_component.rb