typeorm get entity code example Example: typeorm npm install typeorm -g typeorm init --name MyProject --database mysql