# frozen_string_literal: true class WowItemSubClass < ApplicationRecord extend Mobility translates :display_name, :verbose_name belongs_to :wow_item_class has_many :wow_items, dependent: :destroy validates :item_sub_class_id, presence: true, uniqueness: { scope: :wow_item_class } end