Re: Modeling User/Accounts
- From: mySpamB8@xxxxxxxxx
- Date: 29 Dec 2006 09:00:48 -0800
Matt McGill wrote:
mySpamB8@xxxxxxxxx wrote:
I have a system with the following concepts:
*Programs (As in social service programs)
*Program Contacts (people who are associated with programs)
*Application Users (most users are Program Contacts, but some users are
system admins who aren't associated with a program)
All the above is fairly easily modeled, I think. However, I hit a snag
with the following spec:
*Application Users need an email address (for password retrieval
purposes).
Most users are program contacts, so for them, it's no problem getting
the email address from the ProgramContact instance. However, what do I
do for Users who happen not to be ProgramContacts? This email address
ought to be shared somehow, but I can't figure out how to model it.
Any tips would be appreciated.
Thanks,
Jamie
Do you abstract email address with a class in your system, or store it
in a String as an attribute?
I was leaning toward the latter, but I'm not wed to either. Does it
matter in the context of my question?
Thanks,
Jamie
.
- References:
- Modeling User/Accounts
- From: mySpamB8
- Re: Modeling User/Accounts
- From: Matt McGill
- Modeling User/Accounts
- Prev by Date: Re: What's the Criteria for Promoting a "Thing" to a Class
- Next by Date: Re: What's the Criteria for Promoting a "Thing" to a Class
- Previous by thread: Re: Modeling User/Accounts
- Next by thread: Re: Modeling User/Accounts
- Index(es):
Relevant Pages
|