Hi Prachi,
Files are stored in a file document folder on the database server. This includes PDF's. When you upload a file to Mendix, you will have to use the File manager and you will have to configure the entity in which you want to store the file to generalize to FileDocument
More info here: https://world.mendix.com/display/howto40/Add+and+configure+a+file+manager