I have both categories and subcategories on the site, which both stored in the same table:
tbl_category
id parentId title
For categories parentId is zero, for subcategories it has non-zero value.
Now comes the question. Should I use single model for both categories and subcategories, or should I introduce two models?