coding for One-one mapping & one-many mapping

Database

coding for One-one mapping & one-many mapping

Please help me with coding for ONE - ONE MAPPING, ONE - MANY MAPPING

i am new to this coding part,,please help me..

greatly appreciated if provided with examples.

Regards,

Asha