How to store multiple files for a single user object?

0
Hi everyone, Basically I have an Entity called Student with file generalization. In the data input form I’m able to upload one file (pdf) but not more than that. I need to be able to attach 4-5 documents for ID proof, marksheets, report cards etc and they all have to be associated with a specific student object. How can this be achieved? Thank you for your time, Anirudh
asked
1 answers
2

Hi Anirudh,

You must work on the domain modeling. 

The Student must be a separate entity that capture the Student details. 

And you can have a separate entity called StudentDocuments or something, which is linked with Student. 

It must be one Student can have multiple documents. 

Then when uploading the document, link it with Student. So you can have multiple documents for a student.

answered