Sha256: eb2df4e1fb214fda49770c6a9725ecc804f6e14cfeb83a0fb65051d7f21dad1e

Contents?: true

Size: 186 Bytes

Versions: 9

Compression:

Stored size: 186 Bytes

Contents

module Logistics
  module Core
    class ContainerType < ApplicationRecord
      validates :name, presence: true
      validates :code, presence: true, uniqueness: true
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 app/models/logistics/core/container_type.rb
logistics_core-21.11.1 app/models/logistics/core/container_type.rb
logistics_core-21.08.1 app/models/logistics/core/container_type.rb
logistics_core-21.03.1 app/models/logistics/core/container_type.rb
logistics_core-20.10.3 app/models/logistics/core/container_type.rb
logistics_core-20.10.2 app/models/logistics/core/container_type.rb
logistics_core-20.10.1 app/models/logistics/core/container_type.rb
logistics_core-20.9.1 app/models/logistics/core/container_type.rb
logistics_core-20.8.1 app/models/logistics/core/container_type.rb