Do you only record credit transactions in general journal?

we can also record cash transactions too