How to attach a PDF in native V7 classes and representations?

Hi,

How can I attach a PDF to a record in classes and representations (V7 native)?

Best Regards