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.1.23 app/models/ecom/core/work_component.rb
ecom_core-1.1.22 app/models/ecom/core/work_component.rb
ecom_core-1.1.21 app/models/ecom/core/work_component.rb
ecom_core-1.1.20 app/models/ecom/core/work_component.rb
ecom_core-1.1.19 app/models/ecom/core/work_component.rb
ecom_core-1.1.18 app/models/ecom/core/work_component.rb
ecom_core-1.1.17 app/models/ecom/core/work_component.rb
ecom_core-1.1.16 app/models/ecom/core/work_component.rb
ecom_core-1.1.15 app/models/ecom/core/work_component.rb
ecom_core-1.1.14 app/models/ecom/core/work_component.rb
ecom_core-1.1.13 app/models/ecom/core/work_component.rb
ecom_core-1.1.12 app/models/ecom/core/work_component.rb
ecom_core-1.1.11 app/models/ecom/core/work_component.rb
ecom_core-1.1.10 app/models/ecom/core/work_component.rb
ecom_core-1.1.9 app/models/ecom/core/work_component.rb
ecom_core-1.1.8 app/models/ecom/core/work_component.rb
ecom_core-1.1.7 app/models/ecom/core/work_component.rb
ecom_core-1.1.6 app/models/ecom/core/work_component.rb
ecom_core-1.1.5 app/models/ecom/core/work_component.rb
ecom_core-1.1.4 app/models/ecom/core/work_component.rb