demarches-normaliennes/app/models/module_api_carto.rb
2018-10-15 16:16:16 +02:00

7 lines
314 B
Ruby

class ModuleAPICarto < ApplicationRecord
belongs_to :procedure
validates :use_api_carto, presence: true, allow_blank: true, allow_nil: false
validates :quartiers_prioritaires, presence: true, allow_blank: true, allow_nil: false
validates :cadastre, presence: true, allow_blank: true, allow_nil: false
end