I have a multi-level category model with the columns id, name, category_id
id, name, category_id
I then have a Product model, which has many SubProduct m
Product
SubProduct