class FinancialStatement < ApplicationRecord belongs_to :yearly_file belongs_to :document_type validates :data, presence: true end