User types on library management system
<p>I have to build a library management system and i've run into problems while trying to implement user types or profiles. I've already got a superclass user and two other subclasses of User, Student and Teacher, each with their own "characteristics". The thing is i have to implement 7 types of users (5 types of students and 2 types of clerks) based on the number of books they can borrow and the amount of time they can keep the books until they have to return them. Those are the only 2 differences between the classes.</p>

<p>How would you implement this? Inheritance? I'm looking for a clever way to implement this and i would love to hear your thoughts on this.</p>

<p>Thank you very much. </p>
