Hi,
I've to model an application in which there are severl levels of users:
BaseUser has name,email properties
UserLevel1 is a BaseUser's sublcass and has address property
UserLevel2 is UserLevel1's sublcass with its own properties
etc.etc.
Every user is BaseUser but if it fills a Form (HTML) may becomes a UserLeve1 ....
I'need to model this situation, i made It by using joines-subclass but if a user increase its level i need to chanche its class without changing its Id... and i think that it's a Design error ..
How can I change my model?
THX
(Sorry for my English)
|