if use the orm to pick all resources and have a many to many relation, will break because the pivot table does not have a class to make the resouce
if use the orm to pick all resources and have a many to many relation, will break because the pivot table does not have a class to make the resouce