module Logistics module Core class RequiredDocument < ApplicationRecord belongs_to :document_type belongs_to :agency_permit_document delegate(:name, to: :document_type, prefix: true) delegate(:name, to: :agency_permit_document, prefix: true) end end end