demarches-normaliennes/app/models/procedure.rb
2015-11-04 17:27:01 +01:00

8 lines
286 B
Ruby

class Procedure < ActiveRecord::Base
has_many :types_de_piece_justificative
has_many :types_de_champs
has_many :dossiers
validates :libelle, presence: true, allow_blank: false, allow_nil: false
validates :description, presence: true, allow_blank: false, allow_nil: false
end