Re: model insights (inheritance)
Re: model insights (inheritance)
- Subject: Re: model insights (inheritance)
- From: Ricardo Parada <email@hidden>
- Date: Wed, 28 Oct 2015 10:45:54 -0400
- X_v_e_cd: 042e052da1ec041923656e2daf1aecae
- X_v_r_cd: bdcf910a44d5797d806742be4c28dfc6
Look at page 70 in https://developer.apple.com/legacy/library/documentation/WebObjects/UsingEOModeler/UsingEOModeler.pdf
It talks about different ways of modeling inheritance.
> On Oct 28, 2015, at 8:51 AM, Theodore Petrosky <email@hidden> wrote:
>
> I am starting a simple CMS for a friend. He needs to track donations. You know a phone bank and people taking money.
>
> Anyway, I have two kinds of Person. Employees that take money and Donors that give. Both are Person.
>
> I created a model for a Person then Subclasses for Employee and Donor. I am using a qualifier isEmployee=1 and isDonor=1. Obviously then I have attributes isEmployee and isDonor in Person. A Person could be both an Employee and a Donor.
>
> Would you do this, or would you model separate Entities for Employee and Donar?
>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden