Sha256: 90f16d29c6db2cb9bb1878360c1771678ca57d8ec98e1542c6492d11a91c3c03
Contents?: true
Size: 347 Bytes
Versions: 2
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literals: true module Jobshop class RoutingStep < ApplicationRecord self.primary_keys = %i[ organization_id routing_step_id ] belongs_to :organization belongs_to :routing_process, inverse_of: :routing_steps, foreign_key: %i[ organization_id routing_process_id ] validates :name, presence: true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jobshop-0.0.167 | app/models/jobshop/routing_step.rb |
jobshop-0.0.163 | app/models/jobshop/routing_step.rb |