Sha256: fa7dbabf5a3087d261231806536aaa81f30ee361d0028328ae83f64ebadcd1d4

Contents?: true

Size: 213 Bytes

Versions: 1

Compression:

Stored size: 213 Bytes

Contents

module Ecom
  module Core
    class EquipmentLocation < ApplicationRecord
      belongs_to :location_type

      validates :name, :address, presence: true
      validates :name, uniqueness: true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecom_core-1.0.23 app/models/ecom/core/equipment_location.rb