The mapping between your Domain objects and the database can be considered an implementation detail. The Domain lifecycle shouldn't be aware of these persistence details. As such, the mapping information should be defined as part of the Infrastructure layer, outside the Domain, and as the implementation for the Repositories.