Re: [Openledger-developer] Discussion for Part , service and assembly
Brought to you by:
klavs
From: udono <ud...@gm...> - 2005-05-17 17:25:42
|
Udo Spallek schrieb: > Hello Ang, > > > Modern_design88 schrieb: > >> To All >> i would like to get opinion from you all either to have one class that >> serve as part, service and assembly >> or have 3 classes for each of them. >> >> any pro or cons of doing either way? pro: general 'item' or 'good' class for parts, service and assembly would be great for non redundant code (inheritance). Just the differences to 'item' should build into own parts, service and assembly classes. The same with persons like customer, vendor, user, employee. All of them got a Name, Address, Phone ... con: No cons, i think. Greetings Udo |