Sha256: 8c824e4ac855e1f11c7a9a1445a8993b9adec9862ad567fa13e06db9ff5b9db6

Contents?: true

Size: 206 Bytes

Versions: 9

Compression:

Stored size: 206 Bytes

Contents

module Logistics
  module Core
    class DocumentTypeOrigin < ExtendedLookup
      validates :code, :name, presence: true, allow_blank: false
      validates :code, :name, 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/document_type_origin.rb
logistics_core-21.11.1 app/models/logistics/core/document_type_origin.rb
logistics_core-21.08.1 app/models/logistics/core/document_type_origin.rb
logistics_core-21.03.1 app/models/logistics/core/document_type_origin.rb
logistics_core-20.10.3 app/models/logistics/core/document_type_origin.rb
logistics_core-20.10.2 app/models/logistics/core/document_type_origin.rb
logistics_core-20.10.1 app/models/logistics/core/document_type_origin.rb
logistics_core-20.9.1 app/models/logistics/core/document_type_origin.rb
logistics_core-20.8.1 app/models/logistics/core/document_type_origin.rb