Inherit members from multiple class

Viewed 226

I've been learning to design with OOD and stuck with a scenario.

I have a class User which extends an abstract class Person. Class Person has a member with type Address. User only have Username and Password, and Address have some string fields.

Now, I want to add a class Client which can be a Person or an Organization(to be added). Client will have some data also.

I thought about interfaces but they can have only methods. Can anyone help me with what will be the proper design?

I'm not following any pattern and coding with C#.NET.


Update

I think I could not explain the scenario properly. Sorry for that. Please, have a look on the diagram. Here, the Client class is what I want to add. Incomplete class diagram of my scenario

1 Answers
Related