class Library::ItemCondition < ApplicationRecord
  audited

  belongs_to :school

  has_many :holdings, class_name: '::Library::Holding', foreign_key: :item_condition_id

  validates :name, presence: true, length: { maximum: 32 }
  validates :description, length: { maximum: 255 }
end
