Sha256: 551fdb8eca2560b00bd203e35a1a6a64a7c0bab02c8e22b08ce091e9dedc76cb

Contents?: true

Size: 249 Bytes

Versions: 46

Compression:

Stored size: 249 Bytes

Contents

module Comee
  module Core
    class FieldMapping < ApplicationRecord
      enum :level, {client_order: 0, client_item: 1}
      belongs_to :order_source
      validates :source, :destination, :level, :order_source, presence: true
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
comee_core-0.1.56 app/models/comee/core/field_mapping.rb
comee_core-0.1.55 app/models/comee/core/field_mapping.rb
comee_core-0.1.54 app/models/comee/core/field_mapping.rb
comee_core-0.1.53 app/models/comee/core/field_mapping.rb
comee_core-0.1.52 app/models/comee/core/field_mapping.rb
comee_core-0.1.51 app/models/comee/core/field_mapping.rb
comee_core-0.1.50 app/models/comee/core/field_mapping.rb
comee_core-0.1.49 app/models/comee/core/field_mapping.rb
comee_core-0.1.48 app/models/comee/core/field_mapping.rb
comee_core-0.1.47 app/models/comee/core/field_mapping.rb
comee_core-0.1.46 app/models/comee/core/field_mapping.rb
comee_core-0.1.45 app/models/comee/core/field_mapping.rb
comee_core-0.1.45.pre3 app/models/comee/core/field_mapping.rb
comee_core-0.1.45.pre2 app/models/comee/core/field_mapping.rb
comee_core-0.1.45.pre app/models/comee/core/field_mapping.rb
comee_core-0.1.44 app/models/comee/core/field_mapping.rb
comee_core-0.1.43 app/models/comee/core/field_mapping.rb
comee_core-0.1.42 app/models/comee/core/field_mapping.rb
comee_core-0.1.41 app/models/comee/core/field_mapping.rb
comee_core-0.1.40 app/models/comee/core/field_mapping.rb