class AnnonceAuto < ActiveRecord::Base
  has_one :annonce, :as => :specific_annonce
  belongs_to :marque
  MARQUES = []
  ENERGIE = ["Diesel", "Essence", "Hybride essence", "Hybride diesel", "Electrique"]
  
  BV = ["Manuelle", "Automatique"]
  
  validates :year, :presence => true
  validates :kms, :presence => true
  validates :cv, :presence => true
end
