How is the QR code being created ? Is it created by your app or a process owned by you. If yes, you can encode a JSON into QR code, so when you scan the QR code, you will get the JSON string. Using the JSON string, you can extract the key and values and map into Entity object.
If the QR code is generated outside of your control, then look at the output of the QR code scanner. It should be a String text
Either way, the output of QR scanner is a String Text Value. Pass that to a Microflow or a Java Action and Write the logic to extract all the relevant data and map it into an Entity object. It is possible to do it.