I have a product table and a sub_product table.
In product table there are many global field like name and cat_id .
In sub_product table there are product_id, color and Price
Now I want add a filed only to product laravel model(collection) that give me minimum price for each product fromsub_product. how can I do that?