# frozen_string_literal: true

class Report < ApplicationRecord
  has_many :pages, dependent: :destroy
  has_many :elements, through: :pages, dependent: :destroy
  has_rich_text :comment


  validates :name, presence: true
end
