Re: How to model questionaire
"Juan Labrada [email protected] [domaindrivendesign]" <[email protected]> Sat, 23 May 2015 14:50:10 -0300
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <[email protected]> |
Hi, Of course. There are other ways to model that. It is possible that you areĀ trying to model proposal form as an aggregate while the proposal form contains several aggregates on it. One of them it is the risk subscription questionarie. I would m9dele that as a different aggregate. Regards Juan Labrada Enviado desde Type Mail En 2:19PM May 23, 2015, en 2:19PM, "[email protected] [domaindrivendesign]" <[email protected]> escrito: >Hello I am working on a Insurance Product. The challenge I am facing is >on how to model the requirement related to Proposal. While creating the >Proposal we ask lot of questions like >Are any proposals for Life Assurance on your life pending with >Professional Life Assurance Limited or any other insurer ? >Your heart circulation or blood vessels (e.g. rheumatic fever, heart >murmur, chest pains, palpitations, blood pressure, stroke varicose >veins etc.)? I was thinking of a Proposal Aggregate and one of the >associated value object would be an Enum to represent the fixed set of >questions that are asked? Is there any other better way to model this.