As stated by literature in Domain Driven Design each Entity is identified by an Id, usually of type long/int or GUID. In particular I followed the course by Vladimir Khorikov Domain Driven Design in practice. How do I deal with this when I'm designing on an existing database?
I have to deal with tables from my company's ERP, so I can't touch them or modify or ignore them, I have to model my entities above this persistence layer. Almost all tables does not have an integer identifier, but sets of fields of various types. How can I link my "clean" concept of an Entity with an Id with its persistence in a database without an integer Id?