Yii2 dropzone file uploader issue.Cant get filenames to save in db

Iam making a yii2 form with a dropzone mulitple file uploader.I have an issue now.I want to save the filenames in db.How to do that.How to write code for saving the file when loading the model