http://ofbiz.116.s1.nabble.com/Users-Party-Education-and-Work-Experience-Entities-tp137491p137494.html
I agree with Jeffrey. There is no need to create Party and
PartyRelationship unless you are actively working with that Party. If
>Wouldn't this mean that every possible college, university, school of
>higher learning, etc. would potentially need to be entered as an entity
>into the database just to model education? This sounds like a lot of
>work just to represent the fact that someone has a degree from
>somewhere!
>
>-----Original Message-----
>From:
[hidden email]
>[mailto:
[hidden email]] On Behalf Of Adrian Crum
>Sent: Monday, February 20, 2006 11:00 AM
>To: OFBiz Users / Usage Discussion
>Subject: Re: [OFBiz] Users - Party Education and Work Experience
>Entities
>
>This seems to duplicate the PartyRelationship entity. I would recommend
>making
>the educational institution a party (or party group), create roles for
>the
>institution and student, then link them together using
>PartyRelationship.
>
>You'll still need an entity or property to persist the degree.
>
>
>Vinay Agarwal wrote:
>
>
>>Hello,
>>
>>
>>
>>I need party education and work experience entities to build resume
>>
>>
>like
>
>
>>structure for a party. The entities that I came up for them are
>>
>>
>detailed
>
>
>>below.
>>
>>
>>
>> 1. Am doing it write?
>> 2. Is it worth putting them back on OFBiz?
>>
>>
>>
>>Regards,
>>
>>Vinay Agarwal
>>
>>
>>
>> <entity entity-name="Education"
>>
>> package-name="org.ofbiz.grayzilla"
>>
>> title="Party Education Entity">
>>
>> <field name="partyId" type="id-ne"></field>
>>
>> <field name="instituteId"
>>
>>
>type="id-ne"></field>
>
>
>> <field name="degree" type="id-long"></field>
>>
>> <field name="studentId"
>>
>>
>type="id-long"></field>
>
>
>> <field name="fromDate"
>>
>>
>type="date-time"></field>
>
>
>> <field name="thruDate"
>>
>>
>type="date-time"></field>
>
>
>> <prim-key field="partyId"/>
>>
>> <prim-key field="instituteId"/>
>>
>> <prim-key field="fromDate"/>
>>
>> <relation type="one" fk-name="EDU_PRTY"
>>rel-entity-name="Party">
>>
>> <key-map field-name="partyId"/>
>>
>> </relation>
>>
>> <relation type="one" fk-name="EDU_INST"
>>rel-entity-name="Party">
>>
>> <key-map field-name="instituteId"
>>rel-field-name="partyId"/>
>>
>> </relation>
>>
>> </entity>
>>
>>
>>
>> <entity entity-name="Experience"
>>
>> package-name="org.ofbiz.grayzilla"
>>
>> title="Party Experience Entity">
>>
>> <field name="partyId" type="id-ne"></field>
>>
>> <field name="companyId" type="id-ne"></field>
>>
>> <field name="titleLast"
>>
>>
>type="id-long"></field>
>
>
>> <field name="description"
>>
>>
>type="id-vlong"></field>
>
>
>> <field name="fromDate"
>>
>>
>type="date-time"></field>
>
>
>> <field name="thruDate"
>>
>>
>type="date-time"></field>
>
>
>> <prim-key field="partyId"/>
>>
>> <prim-key field="companyId"/>
>>
>> <prim-key field="fromDate"/>
>>
>> <relation type="one" fk-name="EXPER_PRTY"
>>rel-entity-name="Party">
>>
>> <key-map field-name="partyId"/>
>>
>> </relation>
>>
>> <relation type="one" fk-name="EXPER_COMP"
>>rel-entity-name="Party">
>>
>> <key-map field-name="companyId"
>>rel-field-name="partyId"/>
>>
>> </relation>
>>
>> </entity>
>>
>>
>>
>>
>>
>------------------------------------------------------------------------
>
>
>>
>>_______________________________________________
>>Users mailing list
>>
[hidden email]
>>
http://lists.ofbiz.org/mailman/listinfo/users>>
>>
>
>_______________________________________________
>Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users>
>_______________________________________________
>Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users>
>
>