module Spree
  class Prototype < ActiveRecord::Base
    has_and_belongs_to_many :properties, :join_table => 'spree_properties_prototypes'
    has_and_belongs_to_many :option_types, :join_table => 'spree_option_types_prototypes'

    attr_accessible :name

    validates :name, :presence => true

  end
end
