demarches-normaliennes/app/models/entreprise.rb
2016-08-02 14:45:09 +02:00

7 lines
190 B
Ruby

class Entreprise < ActiveRecord::Base
belongs_to :dossier
has_one :etablissement, dependent: :destroy
has_one :rna_information, dependent: :destroy
validates_presence_of :siren
end