Sha256: ffc35e6b1d28ccd487a9d904f4dc20fb4d80a45dd9badbbd6bae58e00dd36636

Contents?: true

Size: 301 Bytes

Versions: 17

Compression:

Stored size: 301 Bytes

Contents

module Ecom
  module Core
    class WorkProductTemplate < ApplicationRecord
      validates :code, :name, presence: true, uniqueness: true
      has_many :project_work_item_templates
      has_many :task_templates, through: :project_work_item_templates
      has_many :product_types
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ecom_core-1.3.14 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.13 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.12 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.11 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.10 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.9 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.8 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.7 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.6 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.5 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.4 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.3 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.2 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.1 app/models/ecom/core/work_product_template.rb
ecom_core-1.3.0 app/models/ecom/core/work_product_template.rb
ecom_core-1.2.36 app/models/ecom/core/work_product_template.rb
ecom_core-1.2.35 app/models/ecom/core/work_product_template.rb