Hi all,

I have some tricky question, but am sure that it"s a common problem.
Hope I am able to explain it well with my bad english :)

Lets say we have a Workflow class which represents a workflow. An
admin is managing the workflow structure (item a before item b, etc.).
Which results in a master template for the workflow.
Now the user can use a workflow (the master), make some small
customizations (optional) and use this workflow for a specific
project.

In the Database I would do the following:
tbl_workflow (id, name, project_id) .... if project_id IS null then i
know its the master ..

But whats the best way of modelling my classes? Should I have :

MasterWorkflow {
   Name
}
Workflow : MasterWorkflow {
   ProjectID
}

Is there a name for this pattern?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to