How to write the summary table of accounting entries for loans from enterprises to individuals?

The accounting entries when an enterprise borrows money are as follows:

Borrow cash

Lending other payables-Zhang San

The accounting entries of enterprise repayment are as follows:

Borrow other payables-Zhang San

Borrow cash

(If the loan repayment is bank transfer, just change "cash" into "bank deposit". )