Hi Shishir,
For the Above requirement, You need to create like the below image shown
The Java class representation you mentioned is 1-1
The domain model Dhinesh mentioned is 1-*.
I dont see much difference other than this. But, always try to look at it from Domain model perspective, rather than Java class perspective.