Own entity as product entity
If i understand the Drupal Commerce architecture correctly, I am supposed to create a product "entity" to define the product, followed by a product "node" which will allow me to visualize the product entity.
Currently I'm working on a system that will import data from a seperate data source, and I was planning to make a custom entity for those items with the Entity API.
However the objects coming from the external data source also need to be sold, so I'd need the Drupal Commerce setup tied in with it.
Would that force me to have a setup like:
Custom Entity > Product Entity > Product Node?
In that case it would be kind of painful to have 3 variations of each data item...
Or should I look into trying to get my data directly into the Product Entity?
If I take that road I can't make my import system generic, as I'd like to reuse it for systems without Drupal Commerce (where there would just be a Custom Entity.
Is my architectural view flawed somewhere? How would I go about achieving this?