New user. Purchasing stock with personal cash

Hopefully you can advise. I have set up a new online business and have had to buy stock with personal cash. How do I log this?

Dr Purchases

Cr Director a/c OR Capital

Thank you for response. Can you expand on reply please.
Regards

You need to do Journal , are you ltd company or sole trader?