# frozen_string_literal: true

class Form < ApplicationRecord
  include Uuidable
  has_many :sections, dependent: :destroy
  has_many :questions, through: :sections
  belongs_to :application
  accepts_nested_attributes_for :sections, :questions, allow_destroy: true
end
