[FEATURE] Port domain model extending from 1.4.x

Resolves: #55972
Releases: 6.2
Change-Id: I274b6c4faf38b945c54315e033fd626053dfc6fa
Reviewed-on: https://review.typo3.org/27623
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer