create metadata trait and model to be able to create eloquent relation on-the-fly