I'm planning a web system where there are mainly two types of users. My project is powered by Play! framework and ebean as the ORM layer.
Now, with the OOP perspective I should create a User
Model and then two more classes which extends User
. Another way, relatively simple is creating two different models and hence, two different DB tables.
What is the preferable way to choose and why?
Thanks