Sha256: 1d6dca15e95a2d1882ad485a7c8b62b3fe5df612687d26da1a865d318f29532c

Contents?: true

Size: 148 Bytes

Versions: 4

Compression:

Stored size: 148 Bytes

Contents

module Mks
  module Edm
    class EquipmentType < ApplicationRecord
      validates :code, :name, uniqueness: true, presence: true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mks_edm-1.0.5 app/models/mks/edm/equipment_type.rb
mks_edm-1.0.4 app/models/mks/edm/equipment_type.rb
mks_edm-1.0.2 app/models/mks/edm/equipment_type.rb
mks_edm-1.0.1 app/models/mks/edm/equipment_type.rb